mcstrans/mcstrans-0.1.8-subsys-locking.patch

30 lines
658 B
Diff
Raw Normal View History

2006-09-13 15:32:33 +00:00
--- mcstrans-0.1.8/src/mcstrans.init.subsys-locking 2006-09-13 11:21:11.000000000 -0400
+++ mcstrans-0.1.8/src/mcstrans.init 2006-09-13 11:29:18.000000000 -0400
@@ -48,7 +48,7 @@
RETVAL=$?
echo
if test $RETVAL = 0 ; then
- touch /var/lock/subsys/$prog
+ touch /var/lock/subsys/mcstrans
fi
return $RETVAL
}
@@ -58,7 +58,7 @@
killproc $prog
RETVAL=$?
echo
- rm -f /var/lock/subsys/$prog
+ rm -f /var/lock/subsys/mcstrans
return $RETVAL
}
@@ -76,7 +76,7 @@
}
condrestart(){
- [ -e /var/lock/subsys/$prog ] && restart
+ [ -e /var/lock/subsys/mcstrans ] && restart
return 0
}