summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pc-sysinstall/backend/functions-packages.sh
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-09-08 20:10:24 +0000
committerimp <imp@FreeBSD.org>2010-09-08 20:10:24 +0000
commit608e1b84a9142f7c5e7fb3c2d7e2bc4f64e633f0 (patch)
tree5ce459b82379b2f9c9e5e123d469051fec1d1078 /usr.sbin/pc-sysinstall/backend/functions-packages.sh
parent026629bb9d4e11fa2dbd6720aad17eec6dc51ddf (diff)
downloadFreeBSD-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-xusr.sbin/pc-sysinstall/backend/functions-packages.sh6
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
};
OpenPOWER on IntegriCloud