Files
limitator/README.md

20 lines
592 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) Run `/etc/init.d/limitator enable`
11) Reboot.
### Additional steps for Backfire 10.03
1) Install iptables-mod-ipopt
2) Delete /bin/date link