From: Christian Hofstaedtler Date: Sat, 30 Jul 2011 06:53:05 +0000 (+0200) Subject: usersetup: Fixup path to inittab after f3b335ea landed X-Git-Tag: v0.15.1~6 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=f66079ee8a7bbaa0cf304b491988299313fce54a usersetup: Fixup path to inittab after f3b335ea landed This probably meant that setups with a different username did not having working consoles 3-5 --- diff --git a/etc/grml/fai/config/scripts/GRMLBASE/21-usersetup b/etc/grml/fai/config/scripts/GRMLBASE/21-usersetup index 6ca33c7..375b52d 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/21-usersetup +++ b/etc/grml/fai/config/scripts/GRMLBASE/21-usersetup @@ -71,7 +71,7 @@ sed -i "s/^$USERNAME:!:/$USERNAME:*:/" $target/etc/shadow # make sure users can log in on consoles 4, 5 and 6 if username != grml: if [ "$USERNAME" != "grml" ] ; then sed -i "s/-u grml -g grml --autologin grml/-u ${USERNAME} -g ${USERNAME} --autologin ${USERNAME}/" \ - $target/etc/inittab.grml + $target/etc/inittab fi if [ -r $target/bin/zsh ] ; then