summaryrefslogtreecommitdiffstats
path: root/liveinit.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2022-08-02 10:43:54 +0200
committer Eric Hameleers <alien@slackware.com>2022-08-02 10:43:54 +0200
commita6672c728a79939163e68255c4ceef0ca9d44bc3 (patch)
tree3577e1e1c4282133d5d8cba71bab5e80a9248599 /liveinit.tpl
parent3bf05e2f6447503517b7ccad832f083df50001e6 (diff)
downloadliveslak-a6672c728a79939163e68255c4ceef0ca9d44bc3.tar.gz
liveslak-a6672c728a79939163e68255c4ceef0ca9d44bc3.tar.xz
liveinit: fix a logic error
Parameter values should only be set from ${DISTRO}_os.cfg if they have not already been dedfined by commandline parameters.
Diffstat (limited to 'liveinit.tpl')
-rw-r--r--liveinit.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index 7194229..1102180 100644
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -883,7 +883,7 @@ if [ "$RESCUE" = "" ]; then
BLACKLIST KEYMAP LIVE_HOSTNAME LOAD LOCALE LUKSVOL \
NOLOAD RUNLEVEL TWEAKS TZ XKB ;
do
- if [ -n "$(eval echo \$${LIVEPARM})" ]; then
+ if [ -z "$(eval echo \$${LIVEPARM})" ]; then
eval $(grep -w ^${LIVEPARM} /mnt/media/${LIVEMAIN}/${DISTROCFG})
fi
done