summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/krebs/etc/Reaktor/commands/ips
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-26 01:39:58 +0100
committermakefu <github@syntax-fehler.de>2014-03-26 01:39:58 +0100
commit49c538988bf1fb6d898866efb339c2b95e1a2920 (patch)
treefa3864eb06efc58a09b8d3908f2f3408c96adce4 /filehooker/root-image/krebs/etc/Reaktor/commands/ips
parentce36ac2c8cbd27bb35956552e35607e924d2046f (diff)
filehooker: add ips command
Diffstat (limited to 'filehooker/root-image/krebs/etc/Reaktor/commands/ips')
-rwxr-xr-xfilehooker/root-image/krebs/etc/Reaktor/commands/ips3
1 files changed, 3 insertions, 0 deletions
diff --git a/filehooker/root-image/krebs/etc/Reaktor/commands/ips b/filehooker/root-image/krebs/etc/Reaktor/commands/ips
new file mode 100755
index 00000000..049d0a9d
--- /dev/null
+++ b/filehooker/root-image/krebs/etc/Reaktor/commands/ips
@@ -0,0 +1,3 @@
+#!/bin/sh
+ip addr | grep 'inet ' | awk '{print $2}' | grep -v 127.0.0.1
+