add protection for bridging interface changes
[openwrt.git] / package / base-files / default / etc / init.d / S50httpd
index a1b883d..a05b10c 100755 (executable)
@@ -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.