summaryrefslogtreecommitdiffstats
path: root/filehooker
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-24 16:16:27 +0100
committermakefu <github@syntax-fehler.de>2014-03-24 16:16:27 +0100
commit655c0f585c9cfd103d71db0a48856ac5f806f6c3 (patch)
treee9e82d970a4261f4391b935a0864e066cae7f2e6 /filehooker
parentaa8ca43e7bb2aef9134b227c24c473eda0615a4e (diff)
add refresh-shares script for reaktor
Diffstat (limited to 'filehooker')
-rwxr-xr-xfilehooker/root-image/krebs/bin/refresh-shares.ship11
1 files changed, 11 insertions, 0 deletions
diff --git a/filehooker/root-image/krebs/bin/refresh-shares.ship b/filehooker/root-image/krebs/bin/refresh-shares.ship
new file mode 100755
index 00000000..99c0b748
--- /dev/null
+++ b/filehooker/root-image/krebs/bin/refresh-shares.ship
@@ -0,0 +1,11 @@
+#!/bin/sh
+#TODO:
+#!/usr/bin/env ship
+set -euf
+#@include filehooker
+. /krebs/lib/filehooker
+ncdc_user="hooker"
+
+share_all_partitions
+
+exit 0