[Pkg-sysvinit-commits] r385 - sysvinit/trunk/debian/initscripts/etc/init.d

Thomas Hood jdthood-guest at costa.debian.org
Thu Dec 15 15:42:17 UTC 2005


Author: jdthood-guest
Date: 2005-12-15 15:42:17 +0000 (Thu, 15 Dec 2005)
New Revision: 385

Modified:
   sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs
Log:
Issue warning if mountvirtfs run without an argument

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs	2005-12-15 15:26:06 UTC (rev 384)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs	2005-12-15 15:42:17 UTC (rev 385)
@@ -257,8 +257,11 @@
 }
 
 case "$1" in
-  start|"")
+  "")
+	echo "Warning: mountvirtfs should be called with the 'start' argument." >&2
 	do_start
+  start)
+	do_start
 	;;
   restart|reload|force-reload)
 	echo "Error: argument '$1' not supported" >&2




More information about the Pkg-sysvinit-commits mailing list