Skip to content
Snippets Groups Projects
Commit a898a842 authored by Nico's avatar Nico
Browse files

fix segment naming

parent 34fb4619
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment