Commit a898a842 authored by Nico's avatar Nico

fix segment naming

parent 34fb4619
......@@ -41,7 +41,7 @@ do
OLDPEER=$(uci get fastd.mesh_vpn_backbone_peer_${GW}.remote)
OLDDOMAIN=$(uci get gluon.core.domain)
NEWPEER=$(printf "\"gw%02ds%02d.gw.freifunk-stuttgart.de\" port %d" $i $GITSEG $PORT)
NEWDOMAIN=$(printf "\"ffs-seg%02d\"" $GITSEG)
NEWDOMAIN=$(printf "\"ffs_seg%02d\"" $GITSEG)
if [ "$NEWPEER" != "$OLDPEER" ]; then
if [ "$NEWDOMAIN" != "$OLDDOMAIN" ]; then
uci set gluon.core.domain="$NEWDOMAIN"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment