CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
attic
/
ports
/
opt-cross.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
libpng: updated to 1.2.44
[attic/ports/opt-cross.git]
/
webfs
/
webfsd
1
#!/bin/sh
2
#
3
# /etc/rc.d/httpd: start/stop webfs http daemon
4
#
5
6
case
$1
in
7
start
)
8
/
usr
/
bin
/
webfsd
-u
www
-g
www
-r
/
var
/
www
-p
80
-f
index.html
9
;;
10
stop
)
11
killall
-q
/
usr
/
bin
/
webfsd
12
;;
13
restart
)
14
$0
stop
15
sleep
2
16
$0
start
17
;;
18
*)
19
echo
"usage:
$0
[start|stop|restart]"
20
;;
21
esac
22
23
# End of file