diff options
author | John Crispin <john@openwrt.org> | 2011-07-03 18:51:59 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-07-03 18:51:59 +0000 |
commit | 349e97f87939460050352725ff6c6be6962aa2ab (patch) | |
tree | 7556f537aea717db2b0d9087fff776210c500869 /target/linux/at91/flexibity/base-files | |
parent | 2975f0aaf17e1d38f6f9eab57260c23ffba0545c (diff) | |
download | upstream-349e97f87939460050352725ff6c6be6962aa2ab.tar.gz upstream-349e97f87939460050352725ff6c6be6962aa2ab.tar.bz2 upstream-349e97f87939460050352725ff6c6be6962aa2ab.zip |
AT91: Add flexibity board support
The patch below adds AT91 Flexibity Connect board support.
Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
SVN-Revision: 27412
Diffstat (limited to 'target/linux/at91/flexibity/base-files')
-rw-r--r-- | target/linux/at91/flexibity/base-files/etc/config/network | 20 | ||||
-rw-r--r-- | target/linux/at91/flexibity/base-files/etc/init.d/custom-user-startup | 22 |
2 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/at91/flexibity/base-files/etc/config/network b/target/linux/at91/flexibity/base-files/etc/config/network new file mode 100644 index 0000000000..5800a0bffe --- /dev/null +++ b/target/linux/at91/flexibity/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/flexibity/base-files/etc/init.d/custom-user-startup b/target/linux/at91/flexibity/base-files/etc/init.d/custom-user-startup new file mode 100644 index 0000000000..dc9f77c98f --- /dev/null +++ b/target/linux/at91/flexibity/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 & + |