X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F10adduser;h=2fabbb31649d57ad4c2be56128ab994c27b85159;hb=d3cb33187fff9e514095ea4cccf64c5c6f48eade;hp=f4c42f89a95fd534b7ca6b24eee92df32b8e5c7d;hpb=25bcd436af6202932ad494c8ddd0a49999579924;p=live-boot-grml.git diff --git a/scripts/live-bottom/10adduser b/scripts/live-bottom/10adduser index f4c42f8..2fabbb3 100755 --- a/scripts/live-bottom/10adduser +++ b/scripts/live-bottom/10adduser @@ -26,7 +26,7 @@ log_begin_msg "Adding live session user..." # live-initramfs script -if [ "${BUILD_SYSTEM}" == "Debian" ]; then +if [ "${BUILD_SYSTEM}" = "Debian" ]; then user_crypted="8Ab05sVQ4LLps" # as in `echo "live" | mkpasswd -s` else user_crypted="U6aMy0wojraho" # "ubuntu" @@ -34,6 +34,7 @@ fi # U6aMy0wojraho is just a blank password chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null < /dev/null @@ -51,6 +52,7 @@ fi # Clear out debconf database again to avoid confusing ubiquity later. chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null <> /root/etc/sudoers # XXX - awful hack to stop xscreensaver locking the screen (#7150)