From c535eabfd26a1927fc87adb9250e277e19a66c3c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 29 Jun 2004 04:54:42 +0000 Subject: - add scripts/remove-boot-splash so we can modify a bootsplash from an initrd without having to rebuild it - make-boot-splash doesn't try to detect the resolution anymore, it now needs to be given one - in switch-themes and remove-theme, use bootloader-config to update the bootloader - remove detect-resolution - requires new mkinitrd (old mkinitrd used detect-resolution) - remove "Patch: glibc-fixed-header.tar.bz2" which is unused (and not in CVS) --- scripts/switch-themes | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'scripts/switch-themes') diff --git a/scripts/switch-themes b/scripts/switch-themes index 7101954..22676e4 100755 --- a/scripts/switch-themes +++ b/scripts/switch-themes @@ -109,20 +109,9 @@ function switch_theme () { } function update_boot () { - pushd /boot &> /dev/null - if [[ -x /usr/share/loader/make-initrd ]]; then - /usr/share/loader/make-initrd -n &> /dev/null - if [[ -x /usr/sbin/detectloader ]]; then - LOADER=$(/usr/sbin/detectloader -q) - if [[ $LOADER = "LILO" ]] && [[ -x /sbin/lilo ]];then - /sbin/lilo >/dev/null 2>/dev/null - fi - if [[ $LOADER = "YABOOT" ]] && [[ -x /sbin/ybin ]];then - /sbin/ybin >/dev/null 2>/dev/null - fi - fi + if [[ -x /usr/bin/bootloader-config ]]; then + /usr/bin/bootloader-config --action update-splash --kernel-version $(uname -r) fi - popd &> /dev/null } function usage () { -- cgit v1.2.1