Bane, neki problem imam sa rstatsom, nisam se cimao do danas da ga isteram, i posto sam radio neke izmene na ruteru, rek'o aj' i to da sredim... ovo mi je boot skripta, nije komplikovana jer ne dizem preko skripte nista preterano:
Code:
#!/bin/sh
mkdir /tmp/opt
mount /dev/sda1 /tmp/opt
wl country EU
nvram set pci/1/1/ccode=EU
nvram set pci/2/1/ccode=EU
nvram set wl_country_code=EU
nvram set wl0_country_code=EU
nvram set wl1_country_code=EU
nvram set regulation_domain=EU
nvram set regulation_domain_5G=EU
nvram set wl_reg_mode=off
nvram set wl0_reg_mode=off
nvram set wl1_reg_mode=off
killall rstats
nvram set rstats_path="/jffs/"
nvram commit
rstats
service restart_wireless
Uradio posle toga rstats new kad sam ga restartovao, izlazi mi gomila "not found" problema, izbacicu samo par komada:
Code:
...
gzip: /jffs/tomato_rstats_704d7b151dfc_3.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_3.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_2.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_2.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_1.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_1.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc.gz: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc.gz: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc.gz: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc.gz: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_5.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_5.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_4.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_4.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_3.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_3.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_2.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_2.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_1.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc_1.bak: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc.gz: No such file or directory
gzip: /jffs/tomato_rstats_704d7b151dfc.gz: No such file or directory
...
Je l' mu trebaju ti dir-ovi sa adekvatnim dozvolama ili nije trebalo da menjam rstats dir preko nvrama dok... nesto drugo nisam uradio? edit: ni 777 ne pomaze...
THE ONLY EASY DAY WAS YESTERDAY