slitaz-boot-scripts rev 424
init: add serial live console (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 11 16:31:47 2016 +0100 (2016-02-11) |
parents | d874107263eb |
children | 09aba02ed71a |
files | init |
line diff
1.1 --- a/init Thu Feb 11 16:23:40 2016 +0100 1.2 +++ b/init Thu Feb 11 16:31:47 2016 +0100 1.3 @@ -193,7 +193,7 @@ 1.4 [ -d /proc/sys/dev/cdrom ] && 1.5 ln -s $(sed '/name/!d;s/.*:[^a-z]*//' /proc/sys/dev/cdrom/info) /dev/cdrom 1.6 1.7 -grep -s serial /proc/ioports && 1.8 +grep -q serial /proc/ioports && 1.9 echo "ttyS0::respawn:/sbin/getty 115200 ttyS0" >> /etc/inittab 1.10 1.11 if use dmraid; then