diff options
author | Ray Strode <rstrode@redhat.com> | 2008-06-23 19:26:33 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2008-06-23 19:26:33 -0400 |
commit | ad6d1eb75f9a98da3d756a70e18032c389a5b2d0 (patch) | |
tree | 1cd4058c5427f8f7586a2553762b8fe22be3cca3 /scripts | |
parent | eb47bef71c1bbfdb98eacfda3dba7f2a1d9625d0 (diff) | |
download | plymouth-ad6d1eb75f9a98da3d756a70e18032c389a5b2d0.tar.gz plymouth-ad6d1eb75f9a98da3d756a70e18032c389a5b2d0.tar.xz plymouth-ad6d1eb75f9a98da3d756a70e18032c389a5b2d0.zip |
Make --reset chooser the most recent plugin not the oldest
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/plymouth-set-default-plugin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/plymouth-set-default-plugin b/scripts/plymouth-set-default-plugin index 84586e7..a2ac8fd 100755 --- a/scripts/plymouth-set-default-plugin +++ b/scripts/plymouth-set-default-plugin @@ -25,7 +25,7 @@ fi PLUGIN_NAME=$1 if [ $1 = '--reset' ]; then - PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | head -n 1) .so) + PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | tail -n 1) .so) if [ $PLUGIN_NAME = .so ]; then rm -f ${LIBDIR}/plymouth/default.so exit 0 |