This is the file I would like to change. I would like to add an entry under servers {.
eap-radius {
# Section to specify multiple RADIUS servers.
servers {
}
}
This is what I have tried
sed -i '/servers {/a\
server-a {
accounting = yes
secret = 123456
address = 127.0.0.1
auth_port = 1812
acct_port = 1813
}
' /etc/strongswan.d/charon/eap-radius.conf
sed: -e expression #1, char 81: unterminated `s' command