[Pkg-sysvinit-commits] r191 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Mon Nov 21 12:08:11 UTC 2005
Author: jdthood-guest
Date: 2005-11-21 12:08:10 +0000 (Mon, 21 Nov 2005)
New Revision: 191
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/umountroot
Log:
Remove old Miquel version comment; fix indentation
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountroot
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountroot 2005-11-21 12:07:01 UTC (rev 190)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountroot 2005-11-21 12:08:10 UTC (rev 191)
@@ -7,11 +7,6 @@
# Default-Stop:
# Short-Description: Mount the root filesystem read-only.
### END INIT INFO
-#
-# v 0.1, localtime: 2005/07/06 19:00 CEST
-#
-# Written by Markus Nass <generalstone at gmx.net>
-#
PATH=/sbin:/bin
@@ -20,25 +15,26 @@
. /lib/lsb/init-functions
do_stop () {
- [ "$VERBOSE" != no ] && log_action_begin_msg "Mounting root filesystem read-only"
- mount -n -o remount,ro /
- [ "$VERBOSE" != no ] && log_action_end_msg $?
+ [ "$VERBOSE" != no ] && log_action_begin_msg "Mounting root filesystem read-only"
+ mount -n -o remount,ro /
+ [ "$VERBOSE" != no ] && log_action_end_msg $?
}
case "$1" in
- start)
- ;;
- restart|reload|force-reload)
- echo "Error: argument '$1' not supported" >&2
- exit 3
- ;;
- stop)
- do_stop
- ;;
- *)
- echo "Usage: $0 start|stop" >&2
- exit 3
- ;;
+ start)
+ # No-op
+ ;;
+ restart|reload|force-reload)
+ echo "Error: argument '$1' not supported" >&2
+ exit 3
+ ;;
+ stop)
+ do_stop
+ ;;
+ *)
+ echo "Usage: $0 start|stop" >&2
+ exit 3
+ ;;
esac
: exit 0
More information about the Pkg-sysvinit-commits
mailing list