From c9339f3edfc9a5faec3c253a65ab8914231f53c8 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 12 Feb 2011 14:00:01 -0600 Subject: adjust fixinittab Fixinittab belongs in the boot runlevel and should start after the root file system is mounted. Also this commit makes fixinittab slightly more verbose. --- fixinittab | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fixinittab b/fixinittab index b7af2dd..c65fcdc 100755 --- a/fixinittab +++ b/fixinittab @@ -2,7 +2,7 @@ depend() { - after dev + after root } start() @@ -12,6 +12,7 @@ start() return 1 fi + einfo "adjusting inittab" # Create a backup cp -f /etc/inittab /etc/inittab.old @@ -64,7 +65,6 @@ start() echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin 9600 hvc0 vt320" >> /etc/inittab fi - # The rest... else if [ "${LIVECD_CONSOLE}" = "tty0" -o "${LIVECD_CONSOLE}" = "" ] @@ -96,5 +96,7 @@ start() # force reread of inittab telinit q + + eend 0 return 0 } -- cgit v1.2.3-65-gdbad