diff options
author | William Hubbs <williamh@gentoo.org> | 2011-02-12 14:00:01 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-04-30 21:46:14 -0500 |
commit | c9339f3edfc9a5faec3c253a65ab8914231f53c8 (patch) | |
tree | 8f88ed1ace2fb41e7cf1f921cc720099aa2d64df | |
parent | fixinittab should start after dev (diff) | |
download | livecd-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-x | fixinittab | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 } |