Files
limitator/README.md

29 lines
722 B
Markdown

# Limitator
## Monthly quota for OpenWRT
### Install
1) Copy `limitator` to `/etc/init.d/`
```
scp -O limitator root@uli:/etc/init.d
```
2) Run `chmod +x /etc/init.d/limitator`
3) Copy `config/limitator` to `/etc/config/`
```
scp -O config/limitator root@uli:/etc/config
```
4) Edit `/etc/config/` if needed.
5) Copy `www/*` to `/www/`
```
scp -rO www root@uli:/
```
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