From d1f4cfab1acba1450a2825fcd3db68c422972c59 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 21 Feb 2012 21:21:47 -0800 Subject: Cleanup interface statistic clear files on reboot clear interface statistics creates a file /var/run/vyatta/XXXX.stats that is used to adjust values. Since this data is meaningless after reboot, remove it. --- scripts/rl-system.init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/rl-system.init b/scripts/rl-system.init index 20534897..fac5fbc1 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -216,6 +216,9 @@ start () { ## Clear out apt config file--it will be filled in by config load empty /etc/apt/sources.list + + # remove any interface stat clears + rm -f /var/run/vyatta/*.stats } case "$ACTION" in -- cgit v1.2.3