/[projects]/smsdaemon/scripts/smsdaemon-initscript
ViewVC logotype

Diff of /smsdaemon/scripts/smsdaemon-initscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 207 by torben, Fri Dec 19 07:33:01 2008 UTC revision 208 by torben, Sun Dec 21 18:41:08 2008 UTC
# Line 37  function status_d Line 37  function status_d
37          fi          fi
38  }  }
39    
40    function reload_d
41    {
42            PID=`cat $PIDFILE`
43            kill -HUP $PID
44    }
45    
46  case $1 in  case $1 in
47          "start")          "start")
48                  start_d                  start_d
# Line 47  case $1 in Line 53  case $1 in
53          "status")          "status")
54                  status_d                  status_d
55                  ;;                  ;;
56            "reload")
57                    reload_d
58                    ;;
59          *)          *)
60                  echo "Usage $0 [start|stop|status]"                  echo "Usage $0 [start|stop|status|reload]"
61                  ;;                  ;;
62  esac  esac

Legend:
Removed from v.207  
changed lines
  Added in v.208

  ViewVC Help
Powered by ViewVC 1.1.20