diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-03-05 02:40:18 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-03-05 02:40:18 +0000 |
commit | 5bdddf55289de859b8c579d744300982b6aa96d4 (patch) | |
tree | 85d5752ed35b5826465155a47d1aa1e7b4e335ee /usr.sbin/bsdinstall/scripts/auto | |
parent | a7377c574a4671c732a132ea244a1f596611a7ad (diff) | |
download | FreeBSD-src-5bdddf55289de859b8c579d744300982b6aa96d4.zip FreeBSD-src-5bdddf55289de859b8c579d744300982b6aa96d4.tar.gz |
Make the chroot shell more functional by providing devfs.
Reported by: Robert Simmons
MFC after: 4 days
Diffstat (limited to 'usr.sbin/bsdinstall/scripts/auto')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/auto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto index afb7799..f6d1d37 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 |