[Pkg-sysvinit-commits] r180 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Mon Nov 21 11:34:13 UTC 2005
Author: jdthood-guest
Date: 2005-11-21 11:34:08 +0000 (Mon, 21 Nov 2005)
New Revision: 180
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
Log:
Give error code on local filesystem mount failure ; fix indentation
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh 2005-11-21 11:31:18 UTC (rev 179)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh 2005-11-21 11:34:08 UTC (rev 180)
@@ -32,17 +32,17 @@
if [ 96 = $ES ] || [ 0 = $ES ]; then
log_success_msg "Done mounting local filesystems"
else
- log_failure_msg "Done mounting local filesystems"
+ log_failure_msg "Mounting local filesystems failed with error code ${ES}."
fi
fi
case `uname -s` in
- *FreeBSD)
- INITCTL=/etc/.initctl
- ;;
- *)
- INITCTL=/dev/initctl
- ;;
+ *FreeBSD)
+ INITCTL=/etc/.initctl
+ ;;
+ *)
+ INITCTL=/dev/initctl
+ ;;
esac
#
@@ -62,12 +62,12 @@
#
doswap=yes
case "`uname -sr`" in
- Linux\ 2.[0123].*)
- if grep -qs resync /proc/mdstat
- then
- doswap=no
- fi
- ;;
+ Linux\ 2.[0123].*)
+ if grep -qs resync /proc/mdstat
+ then
+ doswap=no
+ fi
+ ;;
esac
if [ "$doswap" = yes ]
then
@@ -89,6 +89,7 @@
exit 3
;;
stop)
+ # No-op
;;
*)
echo "Usage: $0 start|stop" >&2
More information about the Pkg-sysvinit-commits
mailing list