toggle_wifi.sh 102 B

1234
  1. #!/bin/bash
  2. nmcli radio wifi `nmcli r wifi | grep enabled -c | sed -e "s/1/off/" | sed -e "s/0/on/"`