fix displayed name in init script help text
[openwrt.git] / package / base-files / default / etc / init.d / S50httpd
index 01772c1..a05b10c 100755 (executable)
@@ -1,2 +1,10 @@
-#!/bin/sh
-[ -d /www ] && httpd -p 80 -h /www -r WRT54G Router
+#!/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.02671 seconds and 4 git commands to generate.