diff options
Diffstat (limited to 'custom/uucp-mediaserver/scripts/mediaspace')
-rwxr-xr-x | custom/uucp-mediaserver/scripts/mediaspace | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ | |||
1 | #!@zsh@/bin/zsh | ||
2 | |||
3 | base=$(basename $0) | ||
4 | suffix=${base##*.} | ||
5 | |||
6 | printf "%d\n" "$1" > @queueDir@/mediaspace.$suffix | ||
7 | echo > @queueDir@/queuesize.$suffix | ||
8 | update-queuesize.$suffix | ||
9 | |||