Scritps: new 'getip' script

master
Pierre Neidhardt 2014-04-22 15:45:32 +02:00
parent 0c3d966f7b
commit d0baf84d34
1 changed files with 2 additions and 0 deletions

2
.scripts/getip Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
zenity --info --text "IP: $(curl -s 192.168.1.1 | awk -F'>: |<' '/Adresse IP/{getline;print $3;exit}')"