SOURCES: util-linux-blockdev.init - on stop delete subsys lock

arekm arekm at pld-linux.org
Tue Nov 15 22:03:24 CET 2005


Author: arekm                        Date: Tue Nov 15 21:03:24 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- on stop delete subsys lock

---- Files affected:
SOURCES:
   util-linux-blockdev.init (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/util-linux-blockdev.init
diff -u SOURCES/util-linux-blockdev.init:1.1 SOURCES/util-linux-blockdev.init:1.2
--- SOURCES/util-linux-blockdev.init:1.1	Sat Nov  5 15:21:30 2005
+++ SOURCES/util-linux-blockdev.init	Tue Nov 15 22:03:19 2005
@@ -44,6 +44,7 @@
 	if [ ! -f /var/lock/subsys/blockdev ]; then
 		msg_not_running blockdev
 	fi	
+	rm -f /var/lock/subsys/blockdev
 	;;
 	restart|force-reload)
 	$0 stop
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/util-linux-blockdev.init?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list