summaryrefslogtreecommitdiffstats
path: root/elchos/root-image/krebs/etc/Reaktor/elchos/commands/ips
diff options
context:
space:
mode:
authorroot <root@darth_serious>2014-05-12 14:00:11 +0200
committerroot <root@darth_serious>2014-05-12 14:02:46 +0200
commit9c34e20898def5954da2f50fdc6036209521b5f8 (patch)
tree064075d02febdff495cf2a0457b552c25a40ad8b /elchos/root-image/krebs/etc/Reaktor/elchos/commands/ips
parent92d73fb495314e29195c0979fa939cd98e952efc (diff)
fix new reaktor config
Diffstat (limited to 'elchos/root-image/krebs/etc/Reaktor/elchos/commands/ips')
-rwxr-xr-xelchos/root-image/krebs/etc/Reaktor/elchos/commands/ips2
1 files changed, 2 insertions, 0 deletions
diff --git a/elchos/root-image/krebs/etc/Reaktor/elchos/commands/ips b/elchos/root-image/krebs/etc/Reaktor/elchos/commands/ips
new file mode 100755
index 00000000..17c39658
--- /dev/null
+++ b/elchos/root-image/krebs/etc/Reaktor/elchos/commands/ips
@@ -0,0 +1,2 @@
+#!/bin/sh
+ip addr | grep 'inet ' | awk '{print $2}' | grep -v 127.0.0.1 | grep .