summaryrefslogtreecommitdiff
path: root/cisco678polld.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cisco678polld.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cisco678polld.sh b/cisco678polld.sh
index b017601..180e016 100644
--- a/cisco678polld.sh
+++ b/cisco678polld.sh
@@ -53,7 +53,7 @@ ckmkdb() {
fi
if [ ! -f ${DBDIR}/${PPPDBFILE} ] ; then
- echo ${DBDIR}/${PPPDBFILE} does not exist!
+ printf "${DBDIR}/${PPPDBFILE} does not exist!\n"
RRDARGZ=("")
RRDARGZ=(
"${RRDARGZ[@]:0}" \
@@ -192,7 +192,7 @@ main() {
## file names
LOCKFILE="/tmp/rrd/${SCRIPTNAME}.lock"
LOGFILE="/tmp/rrd/${SCRIPTNAME}.log"
- DBDIR="/tmp/rrd"
+ DBDIR="/tmp/rrd/db"
GRAPHDIR="/tmp/rrd/cisco678"
RRDSTEP=15
WAIT=5