3 # arpd This shell script takes care of starting and stopping arpd
5 # chkconfig: 2345 11 89
6 # description: user-space arp daemon
9 # pidfile: /var/run/arpd.pid
11 # Source function library.
12 . /etc/rc.d/init.d/functions
14 # Source networking configuration.
15 . /etc/sysconfig/network
17 # Check that networking is up.
18 if is_no "${NETWORKING}"; then
23 # See how we were called.
27 if [ ! -f /var/lock/subsys/arpd ]; then
31 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/arpd
33 msg_Already_Running arpd
38 if [ -f /var/lock/subsys/arpd ]; then
41 rm -f /var/lock/subsys/arpd >/dev/null 2>&1
55 msg_Usage "$0 {start|stop|restart|status}"