diff options
Diffstat (limited to 'dracut/adduser.sh')
-rw-r--r-- | dracut/adduser.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dracut/adduser.sh b/dracut/adduser.sh index 8fbbc9a..6d0142c 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -9,6 +9,7 @@ echo void-live > ${NEWROOT}/etc/hostname USERNAME=$(getarg live.user) USERSHELL=$(getarg live.shell) [ -z "$USERNAME" ] && USERNAME=anon +[ -x $NEWROOT/bin/bash -a -z "$USERSHELL" ] && USERSHELL=/bin/bash [ -z "$USERSHELL" ] && USERSHELL=/bin/sh # Create /etc/default/live.conf to store USER. |