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/remove-theme | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'scripts/remove-theme') diff --git a/scripts/remove-theme b/scripts/remove-theme index f7b8dde..97b4a05 100644 --- a/scripts/remove-theme +++ b/scripts/remove-theme @@ -31,20 +31,9 @@ function remove_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 remove-splash --kernel-version $(uname -r) fi - popd &> /dev/null } function usage () { -- cgit v1.2.1