feat: update new default config values
This commit is contained in:
@@ -22,7 +22,3 @@ scp -rO www root@ROUTER:/
|
|||||||
9) Run `crontab -e` and copy&paste contents in `crontab` file.
|
9) Run `crontab -e` and copy&paste contents in `crontab` file.
|
||||||
10) Run `/etc/init.d/limitator enable`
|
10) Run `/etc/init.d/limitator enable`
|
||||||
11) Reboot.
|
11) Reboot.
|
||||||
|
|
||||||
### Additional steps for Backfire 10.03
|
|
||||||
1) Install iptables-mod-ipopt
|
|
||||||
2) Delete /bin/date link
|
|
||||||
|
|||||||
@@ -11,11 +11,11 @@ EXTRA_HELP=<<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
config_load "limitator"
|
config_load "limitator"
|
||||||
config_get MONTHLY_QUOTA limitator quota 15 # Monthly quota in GB
|
config_get MONTHLY_QUOTA limitator quota 120 # Monthly quota in GB
|
||||||
config_get WAN_DEV limitator wan_dev 'wlan0' # Interface name for WAN
|
config_get WAN_DEV limitator wan_dev 'wlan0' # Interface name for WAN
|
||||||
config_get FIRST_DAY limitator first_day 1 # Day of month when internet plan starts accounting..
|
config_get FIRST_DAY limitator first_day 1 # Day of month when internet plan starts accounting..
|
||||||
config_get START_TIME limitator start_time '08:00' # Starting time of internet plan limited hours.
|
config_get START_TIME limitator start_time '00:00' # Starting time of internet plan limited hours.
|
||||||
config_get END_TIME limitator end_time '22:00' # Ending time of internet plan limited hours.
|
config_get END_TIME limitator end_time '23:59' # Ending time of internet plan limited hours.
|
||||||
config_get INTRANET limitator intranet '10.0.0.0/8' # Traffic in Intranet does not count for quota.
|
config_get INTRANET limitator intranet '10.0.0.0/8' # Traffic in Intranet does not count for quota.
|
||||||
config_get EXCLUDE_NETWORK limitator exclude_network # Traffic originated in specified network does not count for quota.
|
config_get EXCLUDE_NETWORK limitator exclude_network # Traffic originated in specified network does not count for quota.
|
||||||
config_get EXCLUDE_NETWORK2 limitator exclude_network2 # Traffic originated in specified network does not count for quota.
|
config_get EXCLUDE_NETWORK2 limitator exclude_network2 # Traffic originated in specified network does not count for quota.
|
||||||
|
|||||||
Reference in New Issue
Block a user