From af359b71b000651812e1ee70638b480502eba0ec Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Apr 2018 22:05:05 +0200 Subject: media-server on odin --- custom/uucp-mediaserver/scripts/mediaspace | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 custom/uucp-mediaserver/scripts/mediaspace (limited to 'custom/uucp-mediaserver/scripts/mediaspace') diff --git a/custom/uucp-mediaserver/scripts/mediaspace b/custom/uucp-mediaserver/scripts/mediaspace new file mode 100755 index 00000000..5d636a53 --- /dev/null +++ b/custom/uucp-mediaserver/scripts/mediaspace @@ -0,0 +1,9 @@ +#!@zsh@/bin/zsh + +base=$(basename $0) +suffix=${base##*.} + +printf "%d\n" "$1" > @queueDir@/mediaspace.$suffix +echo > @queueDir@/queuesize.$suffix +update-queuesize.$suffix + -- cgit v1.2.3