Add some diagnostic stuff for ar7
[openwrt-10.03/.git] / target / linux / ar7-2.6 / base-files / default / etc / init.d / done
diff --git a/target/linux/ar7-2.6/base-files/default/etc/init.d/done b/target/linux/ar7-2.6/base-files/default/etc/init.d/done
new file mode 100644 (file)
index 0000000..9cd641d
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2007 OpenWrt.org
+
+START=95
+boot() {
+       # set leds to normal state
+       . /etc/diag.sh
+       set_state done
+}