From 49c538988bf1fb6d898866efb339c2b95e1a2920 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 26 Mar 2014 01:39:58 +0100 Subject: filehooker: add ips command --- filehooker/root-image/krebs/etc/Reaktor/commands/ips | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 filehooker/root-image/krebs/etc/Reaktor/commands/ips (limited to 'filehooker/root-image/krebs/etc/Reaktor/commands') 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 + -- cgit v1.2.3