summaryrefslogtreecommitdiff
path: root/custom/uucp-mediaserver/scripts/mediaspace
blob: 7fd0b9cb999f6b3ed01d2ea313e4d4f1bb60bac8 (plain)
1
2
3
4
5
6
7
8
9
#!@zsh@/bin/zsh

base=$(basename $0)
suffix=${base##*.}

printf "%d\n" "$1" > @queueDir@/${suffix}.space
echo > @queueDir@/${suffix}.queuesize
update-queuesize.$suffix