From c2aeadc448295b58ca99d2fb638bbbe4cab55887 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 19 Mar 2014 20:14:04 +0100 Subject: add reaktor bonus commands --- filehooker/root-image/krebs/etc/Reaktor/commands/onion | 3 +++ filehooker/root-image/krebs/etc/Reaktor/commands/shares | 2 ++ 2 files changed, 5 insertions(+) create mode 100755 filehooker/root-image/krebs/etc/Reaktor/commands/onion create mode 100755 filehooker/root-image/krebs/etc/Reaktor/commands/shares (limited to 'filehooker/root-image/krebs/etc/Reaktor/commands') diff --git a/filehooker/root-image/krebs/etc/Reaktor/commands/onion b/filehooker/root-image/krebs/etc/Reaktor/commands/onion new file mode 100755 index 00000000..8631fa79 --- /dev/null +++ b/filehooker/root-image/krebs/etc/Reaktor/commands/onion @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo -u tor cat /var/lib/tor/hidden_service/hostname || echo "no hidden service configured" diff --git a/filehooker/root-image/krebs/etc/Reaktor/commands/shares b/filehooker/root-image/krebs/etc/Reaktor/commands/shares new file mode 100755 index 00000000..1601d584 --- /dev/null +++ b/filehooker/root-image/krebs/etc/Reaktor/commands/shares @@ -0,0 +1,2 @@ +#!/bin/sh +df -h | grep '/media/' -- cgit v1.2.3