mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
bsdinstall: Use a login shell for final configuration.
If the user accepts our offer of a shell to perform final configuration tasks before rebooting, start a login shell. This ensures it will have the correct PATH and be able to install packages without issues. PR: 286722 MFC after: 3 days Reviewed by: jrtc27, allanjude, emaste Differential Revision: https://reviews.freebsd.org/D50297
This commit is contained in:
parent
62f55b34ec
commit
5870d6a1ef
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ if [ -z "$BSDINSTALL_SKIP_MANUAL" ]; then
|
|||
clear
|
||||
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
|
||||
chroot "$BSDINSTALL_CHROOT" /bin/sh -l 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue