#!/bin/sh

# We also need to delay updating the vnstat bandwidth database until after the link is up
#  and stable for a few seconds.

# This sleep seems to introduce a race condition when the connection comes up and then
#  immediately drops.  The vnstat update lock is in the wrong state if it comes up and
#  then immediately drops, because 15 seconds later the connection might already be down.
#(sleep 15 ; touch /tmp/.vnstat-safe-updates ) &

touch /tmp/.vnstat-safe-updates

