fix freeze eww
This commit is contained in:
@@ -5,6 +5,7 @@ active() { rfkill list wifi 2>/dev/null | grep -q "Soft blocked: yes"; }
|
||||
case ${1:-} in
|
||||
status) active && echo true || echo false ;;
|
||||
*)
|
||||
detach_self "$@"
|
||||
if active; then
|
||||
rfkill unblock all
|
||||
state=false
|
||||
|
||||
Reference in New Issue
Block a user