diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-12-05 13:38:14 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-12-05 13:38:14 -0500 |
| commit | 29b1c791f6e319cdab828cee5f491ca1c38e41d1 (patch) | |
| tree | be9d9d43d150f0b72f72e4e37cc43bde0e10b72e /.local/bin/internet | |
| parent | 5849e2ad7323f086bd6edf221b29e3f0b2b7cbd3 (diff) | |
Some New Configuration Tools
Diffstat (limited to '.local/bin/internet')
| -rwxr-xr-x | .local/bin/internet | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/.local/bin/internet b/.local/bin/internet deleted file mode 100755 index 942eefe..0000000 --- a/.local/bin/internet +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -[ "$(connmanctl services | grep "Wired" | awk -F' ' '{print $2}')" = "Wired" ] && CONNECTION="Wired" || CONNECTION="$(connmanctl services | grep '*' | awk -F' ' '{print $2}')" - -[ "$CONNECTION" = "Wired" ] && IP="$(ip address | grep eth0 | grep 192.168.)" || IP="$(ip address | grep wlo | grep 192.168. )" - -IP="${IP%/*}" -IP="${IP##* }" - -echo $CONNECTION $IP |
