port lots of init scripts over to rc.common (more to come)
[openwrt/svn-archive/archive.git] / net / wifidog / files / wifidog.init
index 03e2ea2217638dd436dcbc1eaf22edab1664fb26..d5aaf7ca6879251446b016ec205caeee0a272e62 100644 (file)
@@ -1,3 +1,11 @@
-#!/bin/sh
-/usr/bin/wifidog-init start
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+start() {
+       /usr/bin/wifidog-init start
+}
+
+stop() {
+       /usr/bin/wifidog-init stop
+}