q-power_supply: ignore Mains type
This commit is contained in:
parent
4cfc02239b
commit
006dd80a76
@ -8,7 +8,7 @@ writeDashBin "q-power_supply" ''
|
|||||||
s/^\([A-Z_]\+=[0-9A-Za-z_-]*\)$/export \1/p
|
s/^\([A-Z_]\+=[0-9A-Za-z_-]*\)$/export \1/p
|
||||||
' $uevent)"
|
' $uevent)"
|
||||||
case $POWER_SUPPLY_NAME in
|
case $POWER_SUPPLY_NAME in
|
||||||
AC)
|
AC|Mains)
|
||||||
exit # not battery
|
exit # not battery
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user