[Pkg-sysvinit-commits] r346 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Thu Dec 1 16:32:58 UTC 2005
Author: jdthood-guest
Date: 2005-12-01 16:32:57 +0000 (Thu, 01 Dec 2005)
New Revision: 346
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh
sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs
sysvinit/trunk/debian/initscripts/etc/init.d/rmnologin
Log:
Tweak
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh 2005-12-01 16:15:04 UTC (rev 345)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh 2005-12-01 16:32:57 UTC (rev 346)
@@ -332,17 +332,17 @@
# stored is writable. If /etc/mtab is a symlink into /proc/
# then it is not writable.
#
- init_mtab=no
+ INIT_MTAB_FILE=no
MTAB_PATH="$(readlink -f /etc/mtab || :)"
case "$MTAB_PATH" in
/proc/*)
;;
/*)
- if touch $MTAB_PATH >/dev/null 2>&1
+ if touch "$MTAB_PATH" >/dev/null 2>&1
then
- :> $MTAB_PATH
+ :> "$MTAB_PATH"
rm -f ${MTAB_PATH}~
- init_mtab=yes
+ INIT_MTAB_FILE=yes
fi
;;
"")
@@ -356,7 +356,7 @@
;;
esac
- if [ "$init_mtab" = yes ]
+ if [ "$INIT_MTAB_FILE" = yes ]
then
[ "$roottype" != none ] &&
mount -f -o $rootopts -t $roottype $fstabroot /
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs 2005-12-01 16:15:04 UTC (rev 345)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs 2005-12-01 16:32:57 UTC (rev 346)
@@ -133,7 +133,7 @@
;;
/*)
# Only update mtab if it is writable
- if touch $MTAB_PATH > /dev/null 2>&1
+ if touch "$MTAB_PATH" >/dev/null 2>&1
then
DO_MTAB=Yes
MOUNT_N=
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/rmnologin
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/rmnologin 2005-12-01 16:15:04 UTC (rev 345)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/rmnologin 2005-12-01 16:32:57 UTC (rev 346)
@@ -7,9 +7,9 @@
# Default-Start: 0 1 2 3 4 5 6
# Default-Stop:
# Short-Description: Remove /etc/nologin at boot
-# Description: This script removes the /etc/nologin file as the last
-# step in the boot process, if DELAYLOGIN=yes. If
-# DELAYLOGIN=no, /etc/nologin was not created by by
+# Description: This script removes the /etc/nologin file as the
+# last step in the boot process, if DELAYLOGIN=yes.
+# If DELAYLOGIN=no, /etc/nologin was not created by
# bootmisc earlier in the boot process.
### END INIT INFO
More information about the Pkg-sysvinit-commits
mailing list