add protection for bridging interface changes
[openwrt.git] / package / base-files / default / etc / init.d / S50httpd
index d278519..a05b10c 100755 (executable)
@@ -1,4 +1,10 @@
-#!/bin/sh
+#!/bin/sh /etc/rc.common
 # Copyright (C) 2006 OpenWrt.org
 
-[ -d /www ] && httpd -p 80 -h /www -r OpenWrt
+start() {
+       [ -d /www ] && httpd -p 80 -h /www -r OpenWrt
+}
+
+stop() {
+       killall httpd
+}
This page took 0.028284 seconds and 4 git commands to generate.