Compliance Test: Porovnání verzí
Z Wiki UnArt Slavičín
Skočit na navigaciSkočit na vyhledávání
(Založena nová stránka: AirOS 8: sed -i 's/countrycode=.*/countrycode=511/g' /tmp/system.cfg sleep 1s /usr/etc/rc.d/rc.softrestart save) |
Bez shrnutí editace |
||
Řádek 1: | Řádek 1: | ||
AirOS 5 a 6: | |||
sed -i 's/countrycode=.*/countrycode='511'/g' /tmp/system.cfg | |||
cfgmtd -w -p /etc/ | |||
sleep 1s | |||
cat <<EOT > /etc/persistent/rc.poststart | |||
/usr/sbin/radartool cactime 1000 | |||
/usr/sbin/radartool -i wifi0 usecac 0 | |||
echo '<option value="511">Compliance Test</option>\n<option value="203">Czech Republic</option>' >> /etc/ccodes.inc | |||
EOT | |||
chmod +x /etc/persistent/rc.poststart | |||
cfgmtd -w -p /etc/ | |||
sleep 1s | |||
reboot | |||
AirOS 8: | AirOS 8: | ||
Aktuální verze z 21. 11. 2017, 15:13
AirOS 5 a 6:
sed -i 's/countrycode=.*/countrycode='511'/g' /tmp/system.cfg cfgmtd -w -p /etc/ sleep 1s cat <<EOT > /etc/persistent/rc.poststart /usr/sbin/radartool cactime 1000 /usr/sbin/radartool -i wifi0 usecac 0 echo '<option value="511">Compliance Test</option>\n<option value="203">Czech Republic</option>' >> /etc/ccodes.inc EOT chmod +x /etc/persistent/rc.poststart cfgmtd -w -p /etc/ sleep 1s reboot
AirOS 8:
sed -i 's/countrycode=.*/countrycode=511/g' /tmp/system.cfg sleep 1s /usr/etc/rc.d/rc.softrestart save