14 lines
456 B
Markdown
14 lines
456 B
Markdown
# Limitator
|
|
## Monthly quota for OpenWRT
|
|
|
|
### Install
|
|
1) Copy `limitator` to `/etc/init.d/`
|
|
2) Run `chmod +x /etc/init.d/limitator`
|
|
3) Copy `config/limitator` to `/etc/config/`
|
|
4) Edit `/etc/config/` if needed.
|
|
5) Copy `www/*` to `/www/`
|
|
6) Run `chmod +x /www/cgi-bin/limitator.json`
|
|
7) Run `opkg update && opkg install iptables-mod-extra coreutils-date`
|
|
8) Run `mkdir ~/limitator`
|
|
9) Run `crontab -e` and copy&paste contents in `crontab` file.
|
|
10) Reboot. |