diff options
Diffstat (limited to 'catlfish-dev/update-config.sh')
-rw-r--r-- | catlfish-dev/update-config.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/catlfish-dev/update-config.sh b/catlfish-dev/update-config.sh new file mode 100644 index 0000000..1fad2b0 --- /dev/null +++ b/catlfish-dev/update-config.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +interval="$1"; [ -n "$1" ] && shift +getconfig="$1"; [ -n "$1" ] && shift +localconf="$1"; [ -n "$1" ] && shift +globalconf="$1"; [ -n "$1" ] && shift +plopcontrol="$1"; [ -n "$1" ] && shift + +while true; do + sleep ${interval} + ${getconfig} ${localconf} ${globalconf} ${plopcontrol} +done |