summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-30 16:29:50 +0100
committertv <tv@krebsco.de>2023-01-30 16:29:50 +0100
commit006dd80a7603e3db3cc21d1df49eeca35da6d83b (patch)
treeb70e423174502c15c1f761195ff362f37b325d64 /krebs/5pkgs
parent4cfc02239b667fd7af6bc0d0a2cb1ae09a3c95f3 (diff)
q-power_supply: ignore Mains type
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/simple/q-power_supply.nix2
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