summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commit427c8d323fa26b6991d22f6bf96876de0bf57324 (patch)
tree45ce816ec6179c2da64a2fb7e7f8dc6df321f1dc
parent9132ffa383d8685977b5eb1d90e4f715c551e895 (diff)
downloadliveslak-427c8d323fa26b6991d22f6bf96876de0bf57324.tar.gz
liveslak-427c8d323fa26b6991d22f6bf96876de0bf57324.tar.xz
liveinit: sort the modules found with 'find' to assure correct loading order.
-rwxr-xr-xliveinit2
1 files changed, 1 insertions, 1 deletions
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':