mirror of
https://git.openwrt.org/project/luci.git
synced 2025-11-03 15:08:54 +08:00
meshwizard: add option addchannelbefore
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
config 'community' 'profile'
|
||||
option 'name' 'Freifunk Berlin'
|
||||
option 'homepage' 'http://berlin.freifunk.net'
|
||||
option 'ssid' 'berlin.freifunk.net'
|
||||
option 'ssid' 'freifunk.net'
|
||||
option 'ssid_scheme' 'addchannelbefore'
|
||||
option 'mesh_network' '104.0.0.0/8'
|
||||
option 'splash_network' '10.104.0.0/16'
|
||||
option 'splash_prefix' '27'
|
||||
|
||||
@ -65,6 +65,8 @@ bssid="$($dir/helpers/gen_bssid.sh $channel $community)"
|
||||
ssid="$profile_ssid"
|
||||
if [ "$profile_ssid_scheme" == "addchannel" ]; then
|
||||
ssid="$ssid - ch$channel"
|
||||
else if [ "$profile_ssid_scheme" == "addchannelbefore" ]; then
|
||||
ssid="ch$channel.$ssid"
|
||||
fi
|
||||
|
||||
uci batch << EOF
|
||||
|
||||
Reference in New Issue
Block a user