Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1151 - (show annotations)
Sun Oct 4 15:12:36 2009 UTC (3 years, 7 months ago) by cjg
File size: 323 byte(s)
pseries utils initial commit
1 #!/bin/sh
2 #
3 # /etc/rc.d/iprinitd: start/stop iprinit daemon
4 #
5
6 case $1 in
7 start)
8 if [ ! -d /sys/class/scsi_generic ] ; then
9 modprobe sg
10 fi
11 /sbin/iprinit --daemon
12 ;;
13 stop)
14 killall -q /sbin/iprinit
15 ;;
16 restart)
17 $0 stop
18 sleep 2
19 $0 start
20 ;;
21 *)
22 echo "usage: $0 [start|stop|restart]"
23 ;;
24 esac
25
26 # End of file

Properties

Name Value
svn:executable *