projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
move package description to a separate definition, remove it when DESCRIPTION=TITLE
[oweals/openwrt.git]
/
package
/
busybox
/
files
/
httpd
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START=50
4
5
start() {
6
include /lib/network
7
scan_interfaces
8
config_get ifname wan hostname
9
[ -d /www ] && httpd -p 80 -h /www -r ${hostname:-OpenWrt}
10
}
11
12
stop() {
13
killall httpd
14
}