- small fixed
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 Mar 2003 08:33:46 +0000 (08:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    atsar.init -> 1.2

atsar.init

index d49c098..58975e7 100755 (executable)
@@ -16,7 +16,7 @@ else
 fi
 
 # Check binaries and configuration files.
-[ -f //usr/bin/atsadc ] || exit 0
+[ -f /usr/bin/atsadc ] || exit 0
 
 RETVAL=0
 
@@ -25,21 +25,23 @@ case "$1" in
   start)
        # Run atsadc.
        msg_starting "atsar"
-       daemon //usr/bin/atsadc /var/log/atsar/atsa`date +%d`
+       daemon /usr/bin/atsadc /var/log/atsar/atsa`date +%d`
        RETVAL=$?
         rm -f /var/log/atsar/ftpstat  2> /dev/null
         rm -f /var/log/atsar/httpstat 2> /dev/null
 
        if [ -f /etc/atsar.conf ]
        then
-               //usr/bin/atsaftp
-               //usr/bin/atsahttp
+               /usr/bin/atsaftp
+               /usr/bin/atsahttp
        fi
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/atsar
        ;;
   stop)
-       rm -f /var/lock/subsys/atsar
+       msg_stopping "atsar"
+       daemon  rm -f /var/lock/subsys/atsar
+       RETVAL=$?
        ;;
   status)
        ;;
This page took 0.082303 seconds and 4 git commands to generate.