diff --git a/functions.sh b/functions.sh index 2e3efae..bf4df6f 100755 --- a/functions.sh +++ b/functions.sh @@ -1752,15 +1752,15 @@ endofhelp umask 077 cat <<- EOF > ${IF}.conf - [Interface] - Address = ${INTERFACEADDR} - ListenPort = ${LISTENPORT:-51280} - PrivateKey = $(cat ${PRAEFIX}key) - ${MTU:+MTU = ${MTU}} - ${TABLE:+Table = ${TABLE}} - ${POSTUP:+PostUp = ${POSTUP}} - ${PREDOWN:+PostUp = ${PREDOWN}} - ${POSTDOWN:+PostUp = ${POSTDOWN}} +[Interface] +Address = ${INTERFACEADDR} +ListenPort = ${LISTENPORT:-51280} +PrivateKey = $(cat ${PRAEFIX}key) +${MTU:+MTU = ${MTU}} +${TABLE:+Table = ${TABLE}} +${POSTUP:+PostUp = ${POSTUP}} +${PREDOWN:+PostUp = ${PREDOWN}} +${POSTDOWN:+PostUp = ${POSTDOWN}} EOF }