diff options
author | imp <imp@FreeBSD.org> | 2010-09-08 20:10:24 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-09-08 20:10:24 +0000 |
commit | 608e1b84a9142f7c5e7fb3c2d7e2bc4f64e633f0 (patch) | |
tree | 5ce459b82379b2f9c9e5e123d469051fec1d1078 /usr.sbin/pc-sysinstall/backend/functions-packages.sh | |
parent | 026629bb9d4e11fa2dbd6720aad17eec6dc51ddf (diff) | |
download | FreeBSD-src-608e1b84a9142f7c5e7fb3c2d7e2bc4f64e633f0.zip FreeBSD-src-608e1b84a9142f7c5e7fb3c2d7e2bc4f64e633f0.tar.gz |
pc-sysinstall(8) patch that allows images to be written to disks
This patch creates the "image" directive for the pc-sysinstall config
file. This allows disks to be configured with an image instead of
partitioning.
PR: 150137
Submitted by: John Hixson
Diffstat (limited to 'usr.sbin/pc-sysinstall/backend/functions-packages.sh')
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend/functions-packages.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/pc-sysinstall/backend/functions-packages.sh b/usr.sbin/pc-sysinstall/backend/functions-packages.sh index 998b7ad..f517250 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-packages.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-packages.sh @@ -113,7 +113,8 @@ get_package_index() case "${INSTALLMEDIUM}" in usb|dvd) get_package_index_by_fs ;; - ftp|sftp) get_package_index_by_ftp "${FTPPATH}" ;; + ftp) get_package_index_by_ftp "${FTPPATH}" ;; + sftp) ;; *) RES=1 ;; esac @@ -369,6 +370,7 @@ fetch_package() case "${INSTALLMEDIUM}" in usb|dvd) fetch_package_by_fs "${CATEGORY}" "${PACKAGE}" "${SAVEDIR}" ;; - ftp|sftp) fetch_package_by_ftp "${CATEGORY}" "${PACKAGE}" "${SAVEDIR}" ;; + ftp) fetch_package_by_ftp "${CATEGORY}" "${PACKAGE}" "${SAVEDIR}" ;; + sftp) ;; esac }; |