diff --git a/plugins/network/vnstat_ b/plugins/network/vnstat_ index f88ad8c1..9fb9c039 100755 --- a/plugins/network/vnstat_ +++ b/plugins/network/vnstat_ @@ -16,7 +16,7 @@ -IFACE=`echo $0 | awk -F_ '{print $1}'` +IFACE=${0##*vnstat_} # Config section