From 427c8d323fa26b6991d22f6bf96876de0bf57324 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 15 Aug 2016 22:59:38 +0200 Subject: liveinit: sort the modules found with 'find' to assure correct loading order. --- liveinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liveinit b/liveinit index 04d2b8c..38a13b1 100755 --- a/liveinit +++ b/liveinit @@ -487,7 +487,7 @@ if [ "$RESCUE" = "" ]; then # SUBSYS can be 'system', 'addons', 'optional': SUBSYS="$1" - for MODULE in $(find /mnt/media/${LIVEMAIN}/${SUBSYS}/ -name "*.sxz" 2>/dev/null) ; do + for MODULE in $(find /mnt/media/${LIVEMAIN}/${SUBSYS}/ -name "*.sxz" 2>/dev/null |sort) ; do MODBASE="$(basename ${MODULE} .sxz)" if [ "$SUBSYS" = "optional" ]; then # Load one or more optionals by using boot parameter 'load': -- cgit v1.2.3