mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-01 16:13:23 +00:00
Update 80-bazzite.just (#2216)
This commit is contained in:
parent
03d3acd1b2
commit
8f946a67d1
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user