README and added second excluded network

This commit is contained in:
Eneko Nieto
2021-02-07 16:18:51 +01:00
parent 43bb2ef0dd
commit a6188c7064
4 changed files with 32 additions and 169 deletions

View File

@@ -1,3 +1,5 @@
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Limitator
# Save used bytes to local file
*/10 7-23 * * * /etc/init.d/limitator save &
@@ -5,3 +7,9 @@
1 0 1-12,14-31 * * /etc/init.d/limitator restart &
# Reset the quota monthly
1 0 13 * * /etc/init.d/limitator reset &
# Reboot at 4:30am every day
# Note: To avoid infinite reboot loop, wait 70 seconds
# and touch a file in /etc so clock will be set
# properly to 4:31 on reboot before cron starts.
30 4 * * * sleep 70 && touch /etc/banner && reboot