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
commitd3cda519947676e9dcdc29c12071a365c941dafb (patch)
tree3aef9ab6245ebb3c6cffa32ee95dbd2fbc512a10 /target/linux/adm5120/base-files
parent4c30952394850cf5f2b5d22a2bc50c2151b009f5 (diff)
downloadupstream-d3cda519947676e9dcdc29c12071a365c941dafb.tar.gz
upstream-d3cda519947676e9dcdc29c12071a365c941dafb.tar.bz2
upstream-d3cda519947676e9dcdc29c12071a365c941dafb.zip
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> SVN-Revision: 34469
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