From 44abb3a8f11bf80649cba713b53aaffb7d60c5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Tue, 14 Jan 2014 14:22:28 +0100 Subject: Sprinkle some unsets while here. --- config/openbgpd/openbgpd.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/openbgpd') diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc index 435d9a45..9af83758 100644 --- a/config/openbgpd/openbgpd.inc +++ b/config/openbgpd/openbgpd.inc @@ -178,6 +178,7 @@ function openbgpd_install_conf() { // Write out the configuration file @file_put_contents("{$bgpd_config_base}/bgpd.conf", $conffile); @chmod("{$bgpd_config_base}/bgpd.conf", 0600); + unset($conffile); // Create rc.d file $rc_file_stop = << $rc_file_stop ) ); + unset($rc_file_start, $rc_file_stop); $_gb = exec("/sbin/sysctl net.inet.ip.ipsec_in_use=1"); // bgpd process running? if so reload, else start. -- cgit v1.2.3