diff options
-rw-r--r-- | packages/openbgpd/openbgpd.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc index cb85fbe6..5a6a448b 100644 --- a/packages/openbgpd/openbgpd.inc +++ b/packages/openbgpd/openbgpd.inc @@ -123,6 +123,8 @@ function openbgpd_install_conf() { fwrite($fd, "bgpd\n"); fclose($fd); exec("chmod a+rx /usr/local/etc/rc.d/bgpd.sh"); + exec("chmod a-rw /usr/local/etc/bgpd.conf"); + exec("chmod a+rw /usr/local/etc/bgpd.conf"); // bgpd process running? if so reload, elsewise start. if(is_openbgpd_running() == true) { |