summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-02-12 14:00:01 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-04-30 21:46:14 -0500
commitc9339f3edfc9a5faec3c253a65ab8914231f53c8 (patch)
tree8f88ed1ace2fb41e7cf1f921cc720099aa2d64df
parentfixinittab should start after dev (diff)
downloadlivecd-tools-c9339f3edfc9a5faec3c253a65ab8914231f53c8.tar.gz
livecd-tools-c9339f3edfc9a5faec3c253a65ab8914231f53c8.tar.bz2
livecd-tools-c9339f3edfc9a5faec3c253a65ab8914231f53c8.zip
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.
-rwxr-xr-xfixinittab6
1 files 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
}