extract the interval handling from parsing

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-07-23 17:46:04 +02:00
parent debdd9d004
commit 8491a54b0d

View file

@ -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