TinyCore Linux: back to normal sed regex syntax

This commit is contained in:
Bernhard Ehlers
2015-10-07 10:45:41 +02:00
parent ccf26c11f3
commit 9f5cea4d32

View File

@ -5,7 +5,7 @@ set -x
# Boot configuration
# Serial interface is secondary console, the vga console remains main console
# To change that, exchange the two 'console=' boot parameter
sudo sed -i -r -e '1 i serial 0 38400' -e '/label microcore/,/append / s/(append .*)/\1 console=ttyS0,38400 console=tty0/' /mnt/sda1/boot/extlinux/extlinux.conf
sudo sed -i -e '1 i serial 0 38400' -e '/label microcore/,/append / s/\(append .*\)/\1 console=ttyS0,38400 console=tty0/' /mnt/sda1/boot/extlinux/extlinux.conf
# /etc/inittab
sudo sed -i -e '/tty6/ a ttyS0::respawn:/sbin/getty 38400 ttyS0 xterm' /etc/inittab