diff options
-rwxr-xr-x | filehooker/root-image/krebs/etc/Reaktor/commands/refresh_shares | 3 | ||||
-rw-r--r-- | filehooker/root-image/krebs/etc/Reaktor/config.py | 1 |
2 files changed, 4 insertions, 0 deletions
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 |