From 006dd80a7603e3db3cc21d1df49eeca35da6d83b Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 30 Jan 2023 16:29:50 +0100 Subject: q-power_supply: ignore Mains type --- krebs/5pkgs/simple/q-power_supply.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs/5pkgs') 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 -- cgit v1.2.3