mirror of https://github.com/openwrt/packages.git
ocserv: if ocserv.conf.local is present append it to ocserv.conf
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>pull/1906/head
parent
2506f249be
commit
25eeddbb21
|
@ -54,6 +54,8 @@ setup_config() {
|
|||
-e "s#|IPV6ADDR|#$ip6addr#g" \
|
||||
-e "s/|ENABLE_IPV6|/$enable_ipv6/g" \
|
||||
/etc/ocserv/ocserv.conf.template > /var/etc/ocserv.conf
|
||||
|
||||
test -f /etc/ocserv/ocserv.conf.local && cat /etc/ocserv/ocserv.conf.local >> /var/etc/ocserv.conf
|
||||
}
|
||||
|
||||
setup_users() {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
/etc/ocserv/ca.pem
|
||||
/etc/ocserv/server-key.pem
|
||||
/etc/ocserv/server-cert.pem
|
||||
/etc/ocserv/ocserv.conf.local
|
||||
/etc/ocserv/config-per-user/*
|
||||
/etc/ocserv/config-per-group/*
|
||||
/etc/ocserv/crl.pem
|
||||
|
|
Loading…
Reference in New Issue