2 # Startup script for udpgate
4 # chkconfig: 2345 98 02
5 # description: UDP packats gateway
7 # Source function library.
8 . /etc/rc.d/init.d/functions
11 # [ -f /usr/bin/udpgate ] || exit 0
16 echo -n $"Starting $prog: "
17 daemon udpgate --start
24 if test "x`pidof udpgate`" != x; then
25 echo -n $"Stopping $prog: "
50 if test "x`pidof udpgate`" != x; then
57 echo $"Usage: $0 {start|stop|restart|condrestart|status}"