projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add protection for bridging interface changes
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
init.d
/
S50httpd
diff --git
a/package/base-files/default/etc/init.d/S50httpd
b/package/base-files/default/etc/init.d/S50httpd
index
a1b883d
..
a05b10c
100755
(executable)
--- a/
package/base-files/default/etc/init.d/S50httpd
+++ b/
package/base-files/default/etc/init.d/S50httpd
@@
-1,2
+1,10
@@
-#!/bin/sh
-[ -d /www ] && httpd -p 80 -h /www -r OpenWrt
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+start() {
+ [ -d /www ] && httpd -p 80 -h /www -r OpenWrt
+}
+
+stop() {
+ killall httpd
+}
This page took
0.024314 seconds
and
4
git commands to generate.