From 0c3cc3c366e5fc987ece8c5cf31ef07c51fa0de5 Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Mon, 5 Mar 2012 02:40:18 +0000 Subject: [PATCH] Make the chroot shell more functional by providing devfs. Reported by: Robert Simmons MFC after: 4 days --- usr.sbin/bsdinstall/scripts/auto | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto index afb77996d5a..f6d1d37bece 100755 --- a/usr.sbin/bsdinstall/scripts/auto +++ b/usr.sbin/bsdinstall/scripts/auto @@ -216,6 +216,7 @@ dialog --backtitle "FreeBSD Installer" --title "Manual Configuration" \ --yesno "The installation is now finished. Before exiting the installer, would you like to open a shell in the new system to make any final manual modifications?" 0 0 if [ $? -eq 0 ]; then clear + mount -t devfs devfs "$BSDINSTALL_CHROOT/dev" echo This shell is operating in a chroot in the new system. \ When finished making configuration changes, type \"exit\". chroot "$BSDINSTALL_CHROOT" /bin/sh 2>&1