Fixed some minor errors

This commit is contained in:
Maniacikarus
2008-09-30 09:18:22 +02:00
parent f31d3c1f23
commit 2d0adb746e
6 changed files with 16 additions and 20 deletions

View File

@@ -63,8 +63,10 @@ case "$1" in
evaluate_retval
;;
restore)
boot_mesg "Copying rrd files to ramd..."
cp -pR $RRDLOG.bak/* $RRDLOG/
if [ -e $RRDLOG.bak ];then
boot_mesg "Copying rrd files to ramd..."
cp -pR $RRDLOG.bak/* $RRDLOG/
fi
;;
status)
statusproc /usr/sbin/collectd