5 # chkconfig: 2345 90 25
6 # description: FROX Transparent FTP proxy
8 # Source function library
9 . /etc/rc.d/init.d/functions
11 # See how we were called.
14 # Check if the service is already running?
15 if [ ! -f /var/lock/subsys/frox ]; then
17 daemon frox -f /etc/frox.conf
19 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/frox
21 msg_Already_Running frox
27 if [ -f /var/lock/subsys/frox ]; then
30 rm -f /var/lock/subsys/frox /var/run/frox.pid >/dev/null 2>&1
45 msg_Usage "$0 {start|stop|restart|status}"