[Pkg-sysvinit-commits] r668 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Tue Jan 17 18:24:06 UTC 2006
Author: jdthood-guest
Date: 2006-01-17 18:24:05 +0000 (Tue, 17 Jan 2006)
New Revision: 668
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh
Log:
Change variable name in checkroot.sh
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh 2006-01-17 13:04:51 UTC (rev 667)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh 2006-01-17 18:24:05 UTC (rev 668)
@@ -112,21 +112,21 @@
# Activate the swap device(s) in /etc/fstab. This needs to be done
# before fsck, since fsck can be quite memory-hungry.
#
- doswap=no
+ ENABLE_SWAP=no
case "${KERNEL}:${RELEASE}" in
Linux:2.[0123].*)
if [ "$swap_on_md" = yes ] && grep -qs resync /proc/mdstat
then
[ "$VERBOSE" = no ] || log_warning_msg "Not activating swap because RAID array is resyncing."
else
- doswap=yes
+ ENABLE_SWAP=yes
fi
;;
*)
- doswap=yes
+ ENABLE_SWAP=yes
;;
esac
- if [ "$doswap" = yes ]
+ if [ "$ENABLE_SWAP" = yes ]
then
if [ "$VERBOSE" = no ]
then
More information about the Pkg-sysvinit-commits
mailing list