projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for -t 0 (infinite retry) in busybox udhcpc and use it in the network...
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
init.d
/
httpd
diff --git
a/package/base-files/default/etc/init.d/httpd
b/package/base-files/default/etc/init.d/httpd
index
a05b10c
..
e4f5f48
100755
(executable)
--- a/
package/base-files/default/etc/init.d/httpd
+++ b/
package/base-files/default/etc/init.d/httpd
@@
-2,7
+2,10
@@
# Copyright (C) 2006 OpenWrt.org
start() {
- [ -d /www ] && httpd -p 80 -h /www -r OpenWrt
+ include /lib/network
+ scan_interfaces
+ config_get ifname wan hostname
+ [ -d /www ] && httpd -p 80 -h /www -r ${hostname:-OpenWrt}
}
stop() {
This page took
0.021471 seconds
and
4
git commands to generate.