summaryrefslogtreecommitdiffstats
path: root/target/linux/omap35xx/gumstix/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/omap35xx/gumstix/base-files')
-rw-r--r--target/linux/omap35xx/gumstix/base-files/etc/config/network15
-rw-r--r--target/linux/omap35xx/gumstix/base-files/etc/inittab2
-rw-r--r--target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho2
3 files changed, 17 insertions, 2 deletions
diff --git a/target/linux/omap35xx/gumstix/base-files/etc/config/network b/target/linux/omap35xx/gumstix/base-files/etc/config/network
new file mode 100644
index 000000000..bcb4c4bb1
--- /dev/null
+++ b/target/linux/omap35xx/gumstix/base-files/etc/config/network
@@ -0,0 +1,15 @@
+# Copyright (C) 2006 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname wlan0
+ option proto dhcp
+
+config interface wan
+ option ifname eth0
+ option proto dhcp
diff --git a/target/linux/omap35xx/gumstix/base-files/etc/inittab b/target/linux/omap35xx/gumstix/base-files/etc/inittab
index f739373e7..be8fba1e0 100644
--- a/target/linux/omap35xx/gumstix/base-files/etc/inittab
+++ b/target/linux/omap35xx/gumstix/base-files/etc/inittab
@@ -1,5 +1,5 @@
# inittab for Gumstix board
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop
-ttyS2::askfirst:/bin/ash --login
+ttyO2::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login
diff --git a/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho b/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
index 66b0bf992..319f51393 100644
--- a/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
+++ b/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
@@ -2,7 +2,7 @@
# Copyright (C) 2010 OpenWrt.org
ttyS1_noecho() {
- stty -echo < /dev/ttyS1
+ stty -echo < /dev/ttyO1
}
boot_hook_add preinit_main ttyS1_noecho