]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/networking/any
core186: ship header.pl
[ipfire-2.x.git] / src / initscripts / networking / any
index 0facf23d890264850e87c434e1ef2684ffcf3990..dc4796e914536dae03b70390e9447b3bb2bf127b 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
@@ -83,9 +83,6 @@ case "${1}" in
                        fi
                fi
 
-               # Create & Enable vnstat data collection
-               /usr/bin/vnstat -u -i ${DEVICE} -r --enable --force > /dev/null 2>&1
-
                if [ ! "${ADDRESS}" == "1.1.1.1" ]; then
                        boot_mesg "Adding IPv4 address ${ADDRESS} to the ${DEVICE} interface..."
                        ip addr add ${args} dev ${DEVICE}
@@ -100,8 +97,6 @@ case "${1}" in
                        evaluate_retval
                fi
 
-               # Disable vnstat collection
-               /usr/bin/vnstat -u -i ${DEVICE} -r --disable > /dev/null 2>&1
                exit 0;
                ;;
 esac