init
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Show local IP and transfer if connected to the internet. Opens $NETWORKMANAGER on click
|
||||
NETWORKMANAGER=connman-gtk
|
||||
ifconfig | grep ".*inet.*netmask" | tail -n 1 | sed 's/inet //g' | sed 's/ netmask.*//g' | sed 's/ //g' | sed 's/ //g'
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
1) $NETWORKMANAGER ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user