]> git.pld-linux.org Git - packages/bootparamd.git/blame - bootparamd.init
- changed all BuildRoot definitons
[packages/bootparamd.git] / bootparamd.init
CommitLineData
852db316
JR
1#! /bin/sh
2#
3# chkconfig: - 60 20
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
9
10# Source function library.
11. /etc/rc.d/init.d/functions
12
13# Get config.
14. /etc/sysconfig/network
15
16# Check that networking is up.
17if [ ${NETWORKING} = "no" ]
18then
19 exit 0
20fi
21
22# See how we were called.
23case "$1" in
24 start)
25 echo -n "Starting bootparamd services: "
26 daemon rpc.bootparamd
27
28 echo
29 touch /var/lock/subsys/bootparamd
30 ;;
31 stop)
32 echo -n "Stopping bootparamd services: "
33 killproc rpc.bootparamd
34
35 echo
36 rm -f /var/lock/subsys/bootparamd
37 ;;
38 status)
39 status rpc.bootparamd
40 ;;
41 restart|reload)
42 $0 stop
43 $0 start
44 ;;
45 *)
46 echo "Usage: bootparamd {start|stop|status|restart|reload}"
47 exit 1
48esac
49
50exit 0
This page took 0.088931 seconds and 4 git commands to generate.