4 # description: The bootparamd server allows older Sun workstations to \
5 # net boot from Linux boxes. It (along with rarp) is rarely \
6 # used anymore; bootp and dhcp have mostly replaced both of them.
7 # processname: rpc.bootparamd
8 # config: /etc/bootparams
10 # Source function library.
11 . /etc/rc.d/init.d/functions
14 . /etc/sysconfig/network
16 # Check that networking is up.
17 if is_no "${NETWORKING}"; then
18 msg_Network_Down rwalld
22 # See how we were called.
25 # Check if the service is already running?
26 if [ ! -f /var/lock/subsys/rpc.bootparamd ]; then
27 msg_starting rpc.bootparamd
29 touch /var/lock/subsys/rpc.bootparamd
31 if [ $RETVAL -eq 0 ]; then
32 touch /var/lock/subsys/rpc.bootparamd
36 msg_Already_Running rpc.bootparamd
41 if [ -f /var/lock/subsys/rpc.bootparamd ]; then
42 msg_stopping rpc.bootparamd
43 killproc rpc.bootparamd
44 rm -f /var/lock/subsys/rpc.bootparamd >/dev/null 2>&1
46 msg_Not_Running rpc.bootparamd
53 reload|restart|force-reload)
58 msg_Usage "$0 {start|stop|status|restart|reload|force-reload}"