From 5cc42ea1134afb1762c8f21cf31c6285b7dc70b4 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 24 Mar 2014 16:18:50 +0100 Subject: add reaktor refresh configuration and command --- filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares | 3 +++ filehooker/root-image/krebs/etc/Reaktor/config.py | 1 + 2 files changed, 4 insertions(+) create mode 100755 filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares (limited to 'filehooker/root-image/krebs/etc') diff --git a/filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares b/filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares new file mode 100755 index 00000000..4030338f --- /dev/null +++ b/filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo /krebs/bin/refresh-shares.ship 2>&1 diff --git a/filehooker/root-image/krebs/etc/Reaktor/config.py b/filehooker/root-image/krebs/etc/Reaktor/config.py index 501edb70..589283f0 100644 --- a/filehooker/root-image/krebs/etc/Reaktor/config.py +++ b/filehooker/root-image/krebs/etc/Reaktor/config.py @@ -28,6 +28,7 @@ commands = [ default_command('rev'), default_command('uptime'), default_command('shares'), + default_command('refresh_shares'), default_command('onion'), default_command('nocommand'), # command not found -- cgit v1.2.3