diff options
author | tv <tv@krebsco.de> | 2023-01-30 16:29:50 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-01-30 16:29:50 +0100 |
commit | 006dd80a7603e3db3cc21d1df49eeca35da6d83b (patch) | |
tree | b70e423174502c15c1f761195ff362f37b325d64 /krebs/5pkgs/simple | |
parent | 4cfc02239b667fd7af6bc0d0a2cb1ae09a3c95f3 (diff) |
q-power_supply: ignore Mains type
Diffstat (limited to 'krebs/5pkgs/simple')
-rw-r--r-- | krebs/5pkgs/simple/q-power_supply.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/q-power_supply.nix b/krebs/5pkgs/simple/q-power_supply.nix index 4d6774846..627e3f905 100644 --- a/krebs/5pkgs/simple/q-power_supply.nix +++ b/krebs/5pkgs/simple/q-power_supply.nix @@ -8,7 +8,7 @@ writeDashBin "q-power_supply" '' s/^\([A-Z_]\+=[0-9A-Za-z_-]*\)$/export \1/p ' $uevent)" case $POWER_SUPPLY_NAME in - AC) + AC|Mains) exit # not battery ;; esac |