|
@@ -1,6 +1,35 @@
--- blocksshd-1.3/init/blocksshd.orig 2007-08-08 15:25:42.000000000 +0200
-+++ blocksshd-1.3/init/blocksshd 2008-09-05 11:46:23.000000000 +0200
-@@ -47,7 +47,7 @@
++++ blocksshd-1.3/init/blocksshd 2008-09-05 12:00:57.000000000 +0200
+@@ -19,6 +19,12 @@
+
+ [ -f /etc/blocksshd.conf ] || exit 0
+
++if [ -f /etc/sysconfig/blocksshd ] ; then
++ . /etc/sysconfig/blocksshd
++else
++ exit 0
++fi
++
+ DAEMON=blocksshd
+
+ start() {
+@@ -28,6 +34,7 @@
+ echo
+ [ $RETVAL = 0 ] && touch /var/lock/subsys/blocksshd
+ return $RETVAL
++ $STARTCMD
+ }
+
+ stop() {
+@@ -37,6 +44,7 @@
+ RETVAL=$?
+ echo
+ [ $RETVAL = 0 ] && rm -f /var/lock/subsys/blocksshd
++ $STOPCMD
+ }
+
+ # See how we were called.
+@@ -47,7 +55,7 @@
stop)
stop
;;
@@ -9,7 +38,7 @@
$0 stop
$0 start
exit $?
-@@ -57,7 +57,7 @@
+@@ -57,7 +65,7 @@
echo
;;
*)
|