# HG changeset patch # User Pascal Bellard # Date 1305747902 -7200 # Node ID bfb8a5936ba1701652014c2ed8dadd7624af0ad6 # Parent f922801566b23fb8dc6f9e771211735b55145f05 system.sh: add console= parameter diff -r f922801566b2 -r bfb8a5936ba1 etc/init.d/system.sh --- a/etc/init.d/system.sh Tue May 17 15:10:21 2011 +0200 +++ b/etc/init.d/system.sh Wed May 18 21:45:02 2011 +0200 @@ -12,6 +12,9 @@ for opt in $(cat /proc/cmdline) do case $opt in + console=*) + sed -i "s/tty1/${opt#console=}/g;/^tty[2-9]::/d" \ + /etc/inittab ;; sound=*) DRIVER=${opt#sound=} ;; xarg=*)