[scripts] mkloopcard*: make sure to not duplicate any ^s0 entry in /etc/inittab
This commit is contained in:
parent
fdfac62bdb
commit
14b2787216
@ -89,6 +89,7 @@ setup_users() {
|
||||
|
||||
setup_serial() {
|
||||
# setup serial login
|
||||
sed -i "s:^s0.*::" /etc/inittab
|
||||
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO2 vt100" >> /etc/inittab
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,7 @@ setup_startup_caches() {
|
||||
|
||||
setup_serial() {
|
||||
# Setup serial login
|
||||
sed -i "s:^s0.*::" /etc/inittab
|
||||
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO0 vt100" >> /etc/inittab
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,7 @@ setup_users() {
|
||||
|
||||
setup_serial() {
|
||||
# setup serial login
|
||||
sed -i "s:^s0.*::" /etc/inittab
|
||||
echo "s0:12345:respawn:/sbin/agetty 115200 ttymxc0 vt100" >> /etc/inittab
|
||||
echo "ttymxc0" >> /etc/securetty
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user