diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-06-27 20:28:41 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-06-27 20:28:41 +0000 |
commit | 6b2511694dc0ca2be763fd0971443adc35a1628f (patch) | |
tree | 8b8c124650fda3594e339dfa7d90f02562b181d3 /livecd-functions.sh | |
parent | Add ath/wlan to listed network devices. (diff) | |
download | livecd-tools-6b2511694dc0ca2be763fd0971443adc35a1628f.tar.gz livecd-tools-6b2511694dc0ca2be763fd0971443adc35a1628f.tar.bz2 livecd-tools-6b2511694dc0ca2be763fd0971443adc35a1628f.zip |
Added a kill -HUP 1 to force a reread of inittab when it has been edited.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@62 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-x | livecd-functions.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh index 0a5bf9e..b82a978 100755 --- a/livecd-functions.sh +++ b/livecd-functions.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.8 2005/06/21 14:31:14 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.9 2005/06/27 20:28:41 wolf31o2 Exp $ # Global Variables: # CDBOOT -- is booting off CD @@ -398,5 +398,7 @@ livecd_fix_inittab() { echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} ${LIVECD_CONSOLE} vt100" >> /etc/inittab fi fi + # force reread of inittab + kill -HUP 1 return 0 } |