aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/base-files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-03 16:18:40 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-12-03 16:18:40 +0000
commit75d0271704be302f4d77da650e55152713be07de (patch)
tree683200bf95886a246abf8a7742637365970c02b3 /target/linux/adm5120/base-files
parentf456e95dddf72f986d4935bf0fef4b11534e46c1 (diff)
downloadupstream-75d0271704be302f4d77da650e55152713be07de.tar.gz
upstream-75d0271704be302f4d77da650e55152713be07de.tar.bz2
upstream-75d0271704be302f4d77da650e55152713be07de.zip
[adm5120] do no longer rename amba-pl010 serial devices names
Back in the days when we could not override /etc/inittab, it made a lot of sense to rename ttyAM to ttyS since this was the only supported serial device(s), we can now just put in an appropriate /etc/inittab file now. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34469 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/base-files')
-rw-r--r--target/linux/adm5120/base-files/etc/inittab5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/adm5120/base-files/etc/inittab b/target/linux/adm5120/base-files/etc/inittab
new file mode 100644
index 0000000000..9f7c0aee35
--- /dev/null
+++ b/target/linux/adm5120/base-files/etc/inittab
@@ -0,0 +1,5 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K shutdown
+tts/0::askfirst:/bin/ash --login
+ttyAM0::askfirst:/bin/ash --login
+tty1::askfirst:/bin/ash --login