2 # Startup script for udpgate
4 # chkconfig: 2345 98 02
5 # description: UDP packets gateway
7 # Source our configuration file for these variables.
9 LOCATION=/usr/bin/udpgate
10 if [ -f /etc/sysconfig/udpgate ] ; then
11 . /etc/sysconfig/udpgate
17 echo -n $"Starting $prog: "
18 $LOCATION --start --port=$PORT
25 echo -n $"Stopping $prog: "
51 echo $"Usage: $0 {start|stop|restart}"