1 --- netams-linux-startup.sh.old 2009-08-03 13:56:08.000000000 +0400
2 +++ netams-linux-startup.sh 2009-08-03 13:56:59.000000000 +0400
4 # V.N. Chernenko <vnc@vnc.org.ua>
6 # Source function library.
7 -. /etc/init.d/functions
11 CONFIG=/etc/netams.conf
12 PID_FILE=/var/run/netams.pid
19 - echo -n "Starting Netams services:"
20 if [ ! -f $PID_FILE ]; then
21 - daemon $/usr/sbin/netams -lf $CONFIG
24 + stat_busy "Starting $daemon_name daemon"
25 + /usr/sbin/netams -lf $CONFIG
26 + add_daemon $daemon_name
30 echo -e '\t\t\t\t[ \033[0;31mIt is loaded\033[0;0m ]'
37 - echo -n "Stopping Netams services:"
38 + stat_busy "Stopping $daemon_name daemon"
43 + rm_daemon $daemon_name
55 echo $"Usage: $0 {start|stop|restart}"