projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c0a3c
)
start httpd only if /www exists
author
Nicolas Thill
<nico@openwrt.org>
Sun, 2 Oct 2005 22:51:39 +0000
(22:51 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Sun, 2 Oct 2005 22:51:39 +0000
(22:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2032
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/default/etc/init.d/S50httpd
patch
|
blob
|
history
diff --git
a/package/base-files/default/etc/init.d/S50httpd
b/package/base-files/default/etc/init.d/S50httpd
index
9cf551e
..
01772c1
100755
(executable)
--- a/
package/base-files/default/etc/init.d/S50httpd
+++ b/
package/base-files/default/etc/init.d/S50httpd
@@
-1,2
+1,2
@@
#!/bin/sh
-httpd -p 80 -h /www -r WRT54G Router
+
[ -d /www ] &&
httpd -p 80 -h /www -r WRT54G Router