From a6672c728a79939163e68255c4ceef0ca9d44bc3 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 2 Aug 2022 10:43:54 +0200 Subject: 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. --- liveinit.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3