aboutsummaryrefslogtreecommitdiffstats
path: root/liveinit.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-01-22 21:43:04 +0100
committer Eric Hameleers <alien@slackware.com>2023-01-22 21:43:04 +0100
commit14642e6ec49a025fe83a5c7a2fc69bdb2efe5c9d (patch)
treec84174a1134c6aa586c9850038b850d779fe2598 /liveinit.tpl
parentba73f4d249939ac427600f40a56dd5b468128c56 (diff)
downloadliveslak-14642e6ec49a025fe83a5c7a2fc69bdb2efe5c9d.tar.gz
liveslak-14642e6ec49a025fe83a5c7a2fc69bdb2efe5c9d.tar.xz
Support Console OS boot menu in all Slackware Live variants
Diffstat (limited to 'liveinit.tpl')
-rw-r--r--liveinit.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index 32c7986..41fda41 100644
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -646,7 +646,12 @@ if [ "$RESCUE" = "" ]; then
SUBSYS="$1"
# Find all supported modules:
- for MODULE in $(find_mod /mnt/media/${LIVEMAIN}/${SUBSYS}/) $(find_mod ${SUPERMNT}/${LIVESLAKROOT}/${LIVEMAIN}/${SUBSYS}/) ; do
+ SUBSYSSET="$(find_mod /mnt/media/${LIVEMAIN}/${SUBSYS}/) $(find_mod ${SUPERMNT}/${LIVESLAKROOT}/${LIVEMAIN}/${SUBSYS}/)"
+ if [ "$SUBSYS" = "optional" ]; then
+ # We need to load any core2ram modules first:
+ SUBSYSSET="$(find_mod /mnt/media/${LIVEMAIN}/core2ram/) $(find_mod ${SUPERMNT}/${LIVESLAKROOT}/${LIVEMAIN}/core2ram/ ${SUBSYSSET})"
+ fi
+ for MODULE in ${SUBSYSSET} ; do
# Strip path and extension from the modulename:
MODBASE="$(mod_base ${MODULE})"
if [ "$SUBSYS" = "optional" ]; then