summaryrefslogtreecommitdiff
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/wifi-captive-login2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/wifi-captive-login b/.scripts/wifi-captive-login
index 674cbab..b285cd9 100755
--- a/.scripts/wifi-captive-login
+++ b/.scripts/wifi-captive-login
@@ -1,5 +1,5 @@
#!/bin/sh
if command -v netstat 1>/dev/null; then
- login=$(netstat -nr | sed -n '3p' | cut -d " " -f 10) ;
+ login=$(netstat -nr | sed -n '3p' | awk '{print $2}') ;
[ -n "$login" ] && st -e librewolf $login ;
fi