diff --git a/airootfs/etc/systemd/scripts/sysresccd-initialize b/airootfs/etc/systemd/scripts/sysresccd-initialize index e086c9a..045f695 100755 --- a/airootfs/etc/systemd/scripts/sysresccd-initialize +++ b/airootfs/etc/systemd/scripts/sysresccd-initialize @@ -12,6 +12,12 @@ do SETKMAP=$(echo "${curopt}" | cut -f2 -d=) localectl set-keymap ${SETKMAP} ;; + # Configure root login shell if requested in the boot command line + rootshell\=*) + echo "Found option '${curopt}' on the boot command line" + ROOTSHELL=$(echo "${curopt}" | cut -f2 -d=) + chsh --shell ${ROOTSHELL} root + ;; # Set the system root password from a clear password rootpass\=*) SSHPASS1=$(echo "${curopt}" | cut -f2 -d=)