extract the interval handling from parsing
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
debdd9d004
commit
8491a54b0d
1 changed files with 9 additions and 0 deletions
|
@ -165,6 +165,15 @@ while [ "$#" -ge 1 ]; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
|
#
|
||||||
|
# Setup interval
|
||||||
|
#
|
||||||
|
if [ $# -ge 1 ]; then
|
||||||
|
export INTERVAL="$1"
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
usage
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# check for configuraton directory
|
# check for configuraton directory
|
||||||
|
|
Loading…
Reference in a new issue