Compliance Test
Z Wiki UnArt Slavičín
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