summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/krebs/etc/Reaktor/commands
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-19 20:14:04 +0100
committermakefu <github@syntax-fehler.de>2014-03-19 20:14:04 +0100
commitc2aeadc448295b58ca99d2fb638bbbe4cab55887 (patch)
tree4944705b7f9506b996efb05cede7db78a68a7b87 /filehooker/root-image/krebs/etc/Reaktor/commands
parentdac1785de2a5f1217f6e47b765553ad3f277d0cc (diff)
add reaktor bonus commands
Diffstat (limited to 'filehooker/root-image/krebs/etc/Reaktor/commands')
-rwxr-xr-xfilehooker/root-image/krebs/etc/Reaktor/commands/onion3
-rwxr-xr-xfilehooker/root-image/krebs/etc/Reaktor/commands/shares2
2 files changed, 5 insertions, 0 deletions
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/'