Skip to content

Commit

Permalink
Only edit usplash init script if it exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
synrg authored and daniel-baumann committed Jan 31, 2010
1 parent 39db913 commit 52d38b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/live-bottom/19keyboard
Expand Up @@ -104,7 +104,10 @@ 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
fi
fi
elif [ -e /root/usr/sbin/install-keymap ]
then
Expand Down

0 comments on commit 52d38b1

Please sign in to comment.