Switch back to macOS.
This commit is contained in:
parent
f8866a9eca
commit
e819a06cda
137 changed files with 192 additions and 23 deletions
7
_linux/_gui/_scripts/sb-wireguard
Executable file
7
_linux/_gui/_scripts/sb-wireguard
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
interface=$(ip a | grep 'wg[0-9]:' | awk -F': ' '{print $2}')
|
||||
case $interface in
|
||||
wg0) printf 'wireguard running' ;;
|
||||
wg1) printf 'wireguard running (all traffic)' ;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue