projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add new ar7 dsl driver (thanks, matteo), mark ar7-2.4 as broken and enable ar7-2.6
[oweals/openwrt.git]
/
package
/
busybox
/
files
/
httpd
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
start() {
5
include /lib/network
6
scan_interfaces
7
config_get ifname wan hostname
8
[ -d /www ] && httpd -p 80 -h /www -r ${hostname:-OpenWrt}
9
}
10
11
stop() {
12
killall httpd
13
}