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

fix quotes once more

parent fd0b1194
No related branches found
No related tags found
No related merge requests found
......@@ -41,9 +41,9 @@ 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 [ "$NEWDOMAIN" != "$OLDDOMAIN" ]; then
uci set gluon.core.domain=$NEWDOMAIN
uci set gluon.core.domain="$NEWDOMAIN"
logger -t $ME "setting domain from $OLDDOMAIN to $NEWDOMAIN, this would reboot"
#gluon-reconfigure #off for safety
#uci commit gluon #lets not do this right now. might wear off flash memories and we can easily recover the information on the next reboot from DNS.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment