#!/bin/bash #set hostname uci set system.@system[0].hostname='ffs-EventD2' #disable autoupdate uci set autoupdater.settings.enabled=0 #set channel and sendeleistung uci set wireless.radio0.channel=6 uci set wireless.radio0.txpower=10 #disable vpn uplink uci set simple-tc.mesh_vpn.enabled='0' #enable mesh on wan uci set network.mesh_wan.auto=1 #disable wifi mesh uci set wireless.ibss_radio0.disabled='1' uci set wireless.mesh_radio0.disabled='1' #set min Bandwidth uci set wireless.radio0.supported_rates='18000 24000 36000 48000 54000' uci set wireless.radio0.basic_rate='18000 24000 36000 48000 54000' uci set wireless.radio0.require_mode=g # persist wifi channels during upgrade uci set gluon-core.@wireless[0].preserve_channels='1' #location settings uci set gluon-node-info.@location[0]='location' uci set gluon-node-info.@location[0].share_location='1' uci set gluon-node-info.@location[0].latitude='48.77772727596015' uci set gluon-node-info.@location[0].longitude='9.172263918444512' uci commit reboot && exit