summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-02-12 14:00:01 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-02-12 14:03:36 -0600
commit972d8b142aeeccd5806d850c1549413dba27679b (patch)
treef482f510483662c1d5d5d8315e597cb2ae58bffe
parentfixinittab should start after dev (diff)
downloadlivecd-tools-972d8b142aeeccd5806d850c1549413dba27679b.tar.gz
livecd-tools-972d8b142aeeccd5806d850c1549413dba27679b.tar.bz2
livecd-tools-972d8b142aeeccd5806d850c1549413dba27679b.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
}