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
10 [ -f /usr/sbin/udpgate ] || exit 0
15 echo -n $"Starting $prog: "
16 daemon udpgate --start
23 if test "x`pidof udpgate`" != x; then
24 echo -n $"Stopping $prog: "
49 if test "x`pidof udpgate`" != x; then
56 echo $"Usage: $0 {start|stop|restart|condrestart|status}"