Noch ein Paar Komfortfunktionen.

Zaehler wird automatisch zuruekgesetzt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@493 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-04-11 23:25:47 +00:00
parent f3bbb213fa
commit 77d211a703
3 changed files with 5 additions and 3 deletions

View File

@@ -53,3 +53,6 @@ HOME=/
%nightly * 3-5 /var/ipfire/updatexlrator/autocheck/cron.daily
%weekly * 3-5 /var/ipfire/updatexlrator/autocheck/cron.weekly
%monthly * 3-5 * /var/ipfire/updatexlrator/autocheck/cron.monthly
# Reset Dialup Statistics
0 0 1 * * /usr/local/bin/dialctrl.pl reset

View File

@@ -62,6 +62,7 @@ then
fi
### Cleanup the system when red goes down ###
/usr/local/bin/dialctrl.pl down
rm -f /var/ipfire/red/iface
fi

View File

@@ -22,10 +22,7 @@ boot_mesg "Bringing up the $name interface..."
boot_mesg_flush
(
eval $(/usr/local/bin/readhash /var/ipfire/vpn/settings)
eval $(/usr/local/bin/readhash /var/ipfire/dhcp/settings)
eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
eval $(/usr/local/bin/readhash /var/ipfire/ppp/settings)
if [ "$name" == "green" ]; then
DEVICE="${GREEN_DEV}"
@@ -85,6 +82,7 @@ boot_mesg_flush
/etc/rc.d/init.d/net/common/ipv4-static ${RED_DEV} up
fi
/usr/local/bin/dialctrl.pl up
/etc/rc.d/init.d/net/red/update
fi