[packages/conntrack-tools] full path to daemon

gotar gotar at pld-linux.org
Wed Mar 6 04:40:06 CET 2013


commit bc34b4bb06b23c93d791c11584ef1115fee47371
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Wed Mar 6 04:38:11 2013 +0100

    full path to daemon

 conntrack-tools.init | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/conntrack-tools.init b/conntrack-tools.init
index 93c1eaf..365042d 100644
--- a/conntrack-tools.init
+++ b/conntrack-tools.init
@@ -30,7 +30,7 @@ start() {
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/conntrackd ]; then
 		msg_starting conntrackd
-		daemon conntrackd $CONNTRACKD_OPTS
+		daemon /usr/sbin/conntrackd $CONNTRACKD_OPTS
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/conntrackd
 	else
@@ -73,10 +73,10 @@ reload() {
 RETVAL=0
 case "$1" in
   start)
-  	start
+	start
 	;;
   stop)
-  	stop
+	stop
 	;;
   restart)
 	stop
@@ -86,7 +86,7 @@ case "$1" in
 	condrestart 0
 	;;
   reload|force-reload)
-  	reload
+	reload
 	;;
   status)
 	status conntrackd
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/conntrack-tools.git/commitdiff/4a05afd114d932fc5c117654fe6cd6773b09b81c



More information about the pld-cvs-commit mailing list