usersetup: Fixup path to inittab after f3b335ea landed
authorChristian Hofstaedtler <ch@grml.org>
Sat, 30 Jul 2011 06:53:05 +0000 (08:53 +0200)
committerChristian Hofstaedtler <ch@grml.org>
Sat, 30 Jul 2011 06:53:26 +0000 (08:53 +0200)
This probably meant that setups with a different username did not having
working consoles 3-5

etc/grml/fai/config/scripts/GRMLBASE/21-usersetup

index 6ca33c7..375b52d 100755 (executable)
@@ -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