Skip to content

Commit 1cd7c25

Browse files
authored
tolerate spaces in vars
1 parent 7e4b14b commit 1cd7c25

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

root/etc/cont-init.d/30-config

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ DUDE
213213

214214
save_vars () {
215215
cat <<DUDE > /config/.donoteditthisfile
216-
ORIG_SERVERURL=$SERVERURL
217-
ORIG_SERVERPORT=$SERVERPORT
218-
ORIG_PEERDNS=$PEERDNS
219-
ORIG_PEERS=$PEERS
220-
ORIG_INTERFACE=$INTERFACE
221-
ORIG_ALLOWEDIPS=$ALLOWEDIPS
216+
ORIG_SERVERURL="$SERVERURL"
217+
ORIG_SERVERPORT="$SERVERPORT"
218+
ORIG_PEERDNS="$PEERDNS"
219+
ORIG_PEERS="$PEERS"
220+
ORIG_INTERFACE="$INTERFACE"
221+
ORIG_ALLOWEDIPS="$ALLOWEDIPS"
222222
DUDE
223223
}
224224

0 commit comments

Comments
 (0)