mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
8 lines
144 B
Bash
8 lines
144 B
Bash
#!/bin/sh
|
|
|
|
if [ $(connmanctl state | awk '/State/ {print $NF}') == 'online' ]; then
|
|
connmanctl disable wifi
|
|
else
|
|
connmanctl enable wifi
|
|
fi
|
|
|