/[baselayout]/trunk/init.d/devfsd
Gentoo

Contents of /trunk/init.d/devfsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20 - (show annotations) (download)
Sat Aug 25 20:48:02 2001 UTC (17 years, 3 months ago) by chadh
File size: 355 byte(s)
getting a little closer to rc-script-style and away from supervise

1 #!/sbin/runscript
2 SERVICE="devfsd"
3 opts="start stop"
4
5 start() {
6 need pretty
7 if [ ! -e /dev/.devfsd ]
8 then
9 return
10 fi
11 #the "sleep" is to allow devfsd to start up and make compatibility
12 #devices ready to the fsck routines
13 ebegin "Starting devfsd"; /sbin/devfsd /dev; sleep 2; eend $?
14 }
15
16 stop() {
17 ebegin "Stopping devfsd"; killall devfsd; eend $?
18 }

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20