aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/remove-boot-splash
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2009-10-12 14:02:59 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2009-10-12 14:02:59 +0000
commit030cdae925f422b8ce3e20da59405d1b0acb5e6a (patch)
tree3b6e3b763c2e172afdb57fd0c23fe34686621e62 /scripts/remove-boot-splash
parent8cd65dee04c730ab2e781d6e2f0f5c86a684c790 (diff)
downloadbootsplash-030cdae925f422b8ce3e20da59405d1b0acb5e6a.tar
bootsplash-030cdae925f422b8ce3e20da59405d1b0acb5e6a.tar.gz
bootsplash-030cdae925f422b8ce3e20da59405d1b0acb5e6a.tar.bz2
bootsplash-030cdae925f422b8ce3e20da59405d1b0acb5e6a.tar.xz
bootsplash-030cdae925f422b8ce3e20da59405d1b0acb5e6a.zip
- remove splashy leftover in initrd
- hide error message
Diffstat (limited to 'scripts/remove-boot-splash')
-rw-r--r--scripts/remove-boot-splash2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/remove-boot-splash b/scripts/remove-boot-splash
index c7317e5..ee973a2 100644
--- a/scripts/remove-boot-splash
+++ b/scripts/remove-boot-splash
@@ -14,7 +14,7 @@ if (!system("/bin/zcat $initrd 2> /dev/null | /bin/cpio -t &> /dev/null")) {
chdir $tmp_dir;
system("/bin/zcat $initrd 2>/dev/null | /bin/cpio -id 2>/dev/null");
if (-d "$tmp_dir/usr/share/plymouth") {
- system("rm -fr $tmp_dir/usr/share/plymouth $tmp_dir/usr/lib/plymouth $tmp_dir/usr/lib/libply* $tmp_dir/lib/libply* $tmp_dir/bin/plymouthd $tmp_dir/bin/plymouth");
+ system("rm -fr $tmp_dir/usr/share/plymouth $tmp_dir/usr/lib/plymouth $tmp_dir/usr/lib/libply* $tmp_dir/lib/libply* $tmp_dir/bin/plymouthd $tmp_dir/bin/plymouth $tmp_dir/etc/splashy $tmp_dir/usr/share/splashy");
print STDERR "remove-boot-splash: removing plymouth from initrd\n";
system("/bin/find . -print | /bin/cpio --quiet -c -o 2> /dev/null | gzip -c > $initrd")
} else {