[package] update wifidog to 20090925 (#5902)
[openwrt/svn-archive/archive.git] / net / wifidog / files / wifidog.init
index 9ef9f586bd7b776679ba983c28301479228ef35b..9db075db783efbe49e204009f3bd39c523641411 100644 (file)
@@ -1,6 +1,8 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2006 OpenWrt.org
-START=50
+START=65
+EXTRA_COMMANDS="status"
+EXTRA_HELP="        status Print the status of the service"
 
 start() {
        /usr/bin/wifidog-init start
@@ -10,3 +12,6 @@ stop() {
        /usr/bin/wifidog-init stop
 }
 
+status() {
+       /usr/bin/wifidog-init status
+}
\ No newline at end of file