summaryrefslogtreecommitdiffstats
path: root/target/linux/at91/9260/base-files/etc/init.d/custom-user-startup
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/at91/9260/base-files/etc/init.d/custom-user-startup')
-rw-r--r--target/linux/at91/9260/base-files/etc/init.d/custom-user-startup22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/at91/9260/base-files/etc/init.d/custom-user-startup b/target/linux/at91/9260/base-files/etc/init.d/custom-user-startup
new file mode 100644
index 000000000..dc9f77c98
--- /dev/null
+++ b/target/linux/at91/9260/base-files/etc/init.d/custom-user-startup
@@ -0,0 +1,22 @@
+#!/bin/sh /etc/rc.common
+START=90
+# place your own startup commands here
+#
+# REMEMBER: You *MUST* place an '&' after launching programs you
+# that are to continue running in the background.
+#
+# i.e.
+# BAD: upnpd
+# GOOD: upnpd &
+#
+# Failure to do this will result in the startup process halting
+# on this file and the diagnostic light remaining on (at least
+# for WRT54G(s) models).
+#
+
+# coldplug USB devices
+udevtrigger &
+
+# wait for coldplug and re-generate wireless config
+#wifi detect > /etc/config/wireless &
+