]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/init.d/networking/red
Remove error message if no ppp0.rrd exist yet.
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / networking / red
index debb0d20c6d33401198ba0963bc964d2c4c4d35d..57393842284773133cda5a7f5a949088b4f3eb00 100644 (file)
@@ -365,7 +365,7 @@ case "${1}" in
                        /etc/rc.d/init.d/connectd start
                        # Add a NaN value to ppp0 rrd to supress spikes at reconnect
                        rrdtool update $RRDLOG/collectd/localhost/interface/if_octets-ppp0.rrd \
                        /etc/rc.d/init.d/connectd start
                        # Add a NaN value to ppp0 rrd to supress spikes at reconnect
                        rrdtool update $RRDLOG/collectd/localhost/interface/if_octets-ppp0.rrd \
-                               $(date +%s)::
+                               $(date +%s):: > /dev/null 2>&1
                        exit 0
                fi
                ;;
                        exit 0
                fi
                ;;
@@ -424,7 +424,7 @@ case "${1}" in
                        evaluate_retval
                        # Add a NaN value to ppp0 rrd to supress spikes at reconnect
                        rrdtool update $RRDLOG/collectd/localhost/interface/if_octets-ppp0.rrd \
                        evaluate_retval
                        # Add a NaN value to ppp0 rrd to supress spikes at reconnect
                        rrdtool update $RRDLOG/collectd/localhost/interface/if_octets-ppp0.rrd \
-                               $(date +%s)::
+                               $(date +%s):: > /dev/null 2>&1
                fi
 
                if [ "$DEVICE" != "${GREEN_DEV}" ] && [ "$DEVICE" != "" ]; then
                fi
 
                if [ "$DEVICE" != "${GREEN_DEV}" ] && [ "$DEVICE" != "" ]; then