summaryrefslogtreecommitdiff
path: root/target/linux/at91/9260/base-files
diff options
context:
space:
mode:
authorclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-20 13:33:01 +0000
committerclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-20 13:33:01 +0000
commitbb81a4d728890d800b7e6820c30a655c6596260d (patch)
treee5a7f0d9c26eebb46a33278ac9887e110712f9d3 /target/linux/at91/9260/base-files
parentb3f6f7ff3728022daa3a6437916e400eec8aaf12 (diff)
[at91] Reorganize the subtargets, group subtargets per cpu family
Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31372 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91/9260/base-files')
-rw-r--r--target/linux/at91/9260/base-files/etc/config/network20
-rw-r--r--target/linux/at91/9260/base-files/etc/config/system9
-rw-r--r--target/linux/at91/9260/base-files/etc/init.d/custom-user-startup22
3 files changed, 51 insertions, 0 deletions
diff --git a/target/linux/at91/9260/base-files/etc/config/network b/target/linux/at91/9260/base-files/etc/config/network
new file mode 100644
index 0000000000..5800a0bffe
--- /dev/null
+++ b/target/linux/at91/9260/base-files/etc/config/network
@@ -0,0 +1,20 @@
+
+config 'interface' 'loopback'
+ option 'ifname' 'lo'
+ option 'proto' 'static'
+ option 'ipaddr' '127.0.0.1'
+ option 'netmask' '255.0.0.0'
+
+config 'interface' 'cfg'
+ option 'ifname' 'usb0'
+ option 'proto' 'static'
+ option 'netmask' '255.255.255.0'
+ option 'gateway' '192.168.119.1'
+ option 'ipaddr' '192.168.119.2'
+
+config 'interface' 'lan'
+ option 'ifname' 'wlan0'
+ option 'proto' 'dhcp'
+
+#config 'interface' 'wan'
+# option
diff --git a/target/linux/at91/9260/base-files/etc/config/system b/target/linux/at91/9260/base-files/etc/config/system
new file mode 100644
index 0000000000..ba7e87c629
--- /dev/null
+++ b/target/linux/at91/9260/base-files/etc/config/system
@@ -0,0 +1,9 @@
+config 'system'
+ option 'timezone' 'UTC'
+ option 'hostname' 'flexibity'
+
+config timeserver ntp
+ list server 0.openwrt.pool.ntp.org
+ list server 1.openwrt.pool.ntp.org
+ list server 2.openwrt.pool.ntp.org
+ list server 3.openwrt.pool.ntp.org
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 0000000000..dc9f77c98f
--- /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 &
+