X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F19keyboard;h=f903f2b722500a690a108f63395ac2c607618c27;hb=24b9fd1c70013f5847d3a4658e56bd44534e7890;hp=658e44ac6dfe29a7bc92d08b8582dabacbfc5c55;hpb=78f812de87f2bde7b83d9b87977a7e4cc6c29aa6;p=live-boot-grml.git diff --git a/scripts/live-bottom/19keyboard b/scripts/live-bottom/19keyboard index 658e44a..f903f2b 100755 --- a/scripts/live-bottom/19keyboard +++ b/scripts/live-bottom/19keyboard @@ -104,7 +104,14 @@ then live-preseed /root console-setup/optionscode '' false live-preseed /root console-setup/codesetcode '' false - sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash + if [ -f /root/etc/init.d/usplash ] + then + sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash + elif [ -f /root/etc/init/usplash.conf ] + then + sed -i '/^post-stop script/a\ + setupcon' /root/etc/init/usplash.conf + fi fi elif [ -e /root/usr/sbin/install-keymap ] then