]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
In plymouth-set-default-plugin on reset make sure we do not set label.so as a
authorCharlie Brej <cbrej@cs.man.ac.uk>
Tue, 24 Feb 2009 09:27:53 +0000 (09:27 +0000)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Tue, 24 Feb 2009 09:27:53 +0000 (09:27 +0000)
default splash plugin.

scripts/plymouth-set-default-plugin.in

index 2d4728ab5ae1a20319bf03d485784867d596b445..68d5b7f7163d3998f8838e2931714070a45b8c7e 100755 (executable)
@@ -125,7 +125,7 @@ if [ `id -u` -ne 0 ]; then
 fi
 
 if [ $DO_RESET -ne 0 ]; then
-        PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | tail -n 1) .so)
+        PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | grep -v label.so | tail -n 1) .so)
         if [ $PLUGIN_NAME = .so ]; then
                 rm -f ${LIBDIR}/plymouth/default.so
                 exit 0