diff options
author | Eric Hameleers <alien@slackware.com> | 2016-08-15 22:59:38 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2016-08-15 22:59:38 +0200 |
commit | 427c8d323fa26b6991d22f6bf96876de0bf57324 (patch) | |
tree | 45ce816ec6179c2da64a2fb7e7f8dc6df321f1dc | |
parent | 9132ffa383d8685977b5eb1d90e4f715c551e895 (diff) | |
download | liveslak-427c8d323fa26b6991d22f6bf96876de0bf57324.tar.gz liveslak-427c8d323fa26b6991d22f6bf96876de0bf57324.tar.xz |
liveinit: sort the modules found with 'find' to assure correct loading order.
Diffstat (limited to '')
-rwxr-xr-x | liveinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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': |