mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-03-28 05:55:07 +01:00
Add noautologin boot option
Fixes systemrescue/systemrescue-sources#189
This commit is contained in:
parent
c33b6e51d2
commit
08c163345d
|
|
@ -57,6 +57,12 @@ do
|
|||
echo '[[ ! $DISPLAY ]] && [[ ! $SSH_TTY ]] && [[ $XDG_VTNR == 1 ]] && startx' | \
|
||||
tee -a /root/.bash_profile > /root/.zlogin
|
||||
;;
|
||||
|
||||
# Require authenticated console access
|
||||
noautologin)
|
||||
echo "Found option '${curopt}' on the boot command line"
|
||||
systemctl revert getty@.service serial-getty@.service
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue