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_yes "${NETWORKING}"; then
18 if [ ! -f /var/lock/subsys/network ]; then
19 msg_network_down rwalld
26 # See how we were called.
29 # Check if the service is already running?
30 if [ ! -f /var/lock/subsys/rpc.bootparamd ]; then
31 msg_starting rpc.bootparamd
33 touch /var/lock/subsys/rpc.bootparamd
35 if [ $RETVAL -eq 0 ]; then
36 touch /var/lock/subsys/rpc.bootparamd
40 msg_already_running rpc.bootparamd
45 if [ -f /var/lock/subsys/rpc.bootparamd ]; then
46 msg_stopping rpc.bootparamd
47 killproc rpc.bootparamd
48 rm -f /var/lock/subsys/rpc.bootparamd >/dev/null 2>&1
50 msg_not_running rpc.bootparamd
57 reload|restart|force-reload)
62 msg_usage "$0 {start|stop|restart|reload|force-reload|status}"