summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/base-files/etc
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-03 16:18:40 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-03 16:18:40 +0000
commitef22716113d4fb76330c9bca4103512a914ef5fd (patch)
tree683200bf95886a246abf8a7742637365970c02b3 /target/linux/adm5120/base-files/etc
parent3abfc82ebeb06c5a5334520a26c14229e9098bf9 (diff)
[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/etc')
-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