move busybox init scripts from base-files into the busybox package and make them...
[openwrt.git] / package / base-files / default / etc / init.d / httpd
diff --git a/package/base-files/default/etc/init.d/httpd b/package/base-files/default/etc/init.d/httpd
deleted file mode 100755 (executable)
index e4f5f48..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
-
-start() {
-       include /lib/network
-       scan_interfaces
-        config_get ifname wan hostname
-       [ -d /www ] && httpd -p 80 -h /www -r ${hostname:-OpenWrt}
-}
-
-stop() {
-       killall httpd
-}