Subversion Repositories ALCASAR

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
1154 crox53 1
#!/bin/sh
2
#
3
# chkconfig: 345 90 10
4
#
5
# Init script launching the nfsen service at the startup.
6
 
7
. /etc/init.d/functions
8
 
9
# Include nfcapd defaults if available
10
if [ -f /etc/sysconfig/nfsen ] ; then
11
	. /etc/sysconfig/nfsen
12
fi
13
 
14
case "$1" in
15
	start) 
16
		/usr/bin/nfsen start
17
		;;
18
 
19
	stop)
20
		/usr/bin/nfsen stop
21
		;;
22
 
23
	restart)
24
		/usr/bin/nfsen restart
25
		;;
26
	status)
27
		/usr/bin/nfsen status
28
		exit 4
29
		;;
30
	*)
31
		gprintf "Usage: %s {start|stop|status|restart}\n" "$N"
32
		;;
33
esac
34
 
35
exit 0