mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make the chroot shell more functional by providing devfs.
Reported by: Robert Simmons MFC after: 4 days
This commit is contained in:
parent
05f91fa06a
commit
0c3cc3c366
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue