Update 80-bazzite.just (#2216)

This commit is contained in:
Sean 2025-01-30 21:03:40 -05:00 committed by GitHub
parent 03d3acd1b2
commit 8f946a67d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,7 +162,7 @@ configure-watchdog ACTION="":
echo "Watchdog is $WATCHDOG_STATE"
OPTION=$(Choose "Enable Watchdog" "Disable Watchdog")
fi
if [[ "$OPTION" =~ ^enable ]]; then
if [[ "${OPTION,,}" =~ ^enable ]]; then
WATCHDOG_KARGS="--delete-if-present=nowatchdog"
if [[ "$CPU_MODEL" =~ "Intel" ]]; then
WATCHDOG_KARGS="$WATCHDOG_KARGS --delete-if-present=modprobe.blacklist=iTCO_wdt"
@ -170,7 +170,7 @@ configure-watchdog ACTION="":
WATCHDOG_KARGS="$WATCHDOG_KARGS --delete-if-present=modprobe.blacklist=sp5100_tco"
fi
rpm-ostree kargs $WATCHDOG_KARGS
elif [[ "$OPTION" =~ ^disable ]]; then
elif [[ "${OPTION,,}" =~ ^disable ]]; then
WATCHDOG_KARGS="--append-if-missing=nowatchdog"
if [[ "$CPU_MODEL" =~ "Intel" ]]; then
WATCHDOG_KARGS="$WATCHDOG_KARGS --append-if-missing=modprobe.blacklist=iTCO_wdt"