mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
Fixes: 12831 Jonatan Schlag reported that the command line options of 'vnstat' had changed "...and seemed to be broken a long time". => https://bugzilla.ipfire.org/show_bug.cgi?id=12831#c0 Several command line switches used in networking initscripts were obviously removed. Affected commands in '.../networking/any' and '.../networking/red'): ... /usr/bin/vnstat -u -i ${DEVICE} -r --enable --force > /dev/null 2>&1 ... /usr/bin/vnstat -u -i ${DEVICE} -r --disable > /dev/null 2>&1 ... and ... /usr/bin/vnstat -u -i ppp0 -r --disable > /dev/null 2>&1 ... Adolf Belka tested this, "looked through the changelogs" and found - besides that the switch '--enable' had been removed "in version 2.0 in 2018" - that '--enable', '--update' and '--reset' switches are either not needed or not supported anymore. "The old man page indicates that none of those options are used when the vnstat daemon is running." Since we only start and run 'vnstatd' in IPFire it was decided to remove these commands. Reported-by: jonatan.schlag <jonatan.schlag@ipfire.org> Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>