aboutsummaryrefslogtreecommitdiffstats
path: root/config/openbgpd
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-28 09:01:07 -0300
committerRenato Botelho <renato@netgate.com>2015-08-28 09:01:07 -0300
commit3977f59b180791156208cd6865eef5cae734f044 (patch)
tree85076ce952355cf3894a5b3f52726439445f0656 /config/openbgpd
parent66dad7feacac607560844228c0cd58537bc1a994 (diff)
parent3bdbee31d112b473ce66bcd321cdcd706dc17131 (diff)
downloadpfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.gz
pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.bz2
pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.zip
Merge pull request #1024 from doktornotor/patch-4
Diffstat (limited to 'config/openbgpd')
-rw-r--r--config/openbgpd/openbgpd.inc8
-rw-r--r--config/openbgpd/openbgpd.xml3
-rw-r--r--config/openbgpd/openbgpd_groups.xml3
3 files changed, 0 insertions, 14 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index 038ffa11..102c937d 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -319,14 +319,6 @@ function openbgpd_put_raw_config($conffile) {
}
}
-function deinstall_openbgpd() {
- global $config, $g;
-
- exec("rm /usr/local/etc/rc.d/bgpd.sh");
- exec("rm /usr/local/www/openbgpd_status.php");
- exec("killall bgpd");
-}
-
function check_group_usage($groupname) {
global $config, $g;
diff --git a/config/openbgpd/openbgpd.xml b/config/openbgpd/openbgpd.xml
index 83e0122c..07810c0c 100644
--- a/config/openbgpd/openbgpd.xml
+++ b/config/openbgpd/openbgpd.xml
@@ -182,9 +182,6 @@
</rowhelper>
</field>
</fields>
- <custom_php_deinstall_command>
- deinstall_openbgpd();
- </custom_php_deinstall_command>
<custom_php_resync_config_command>
openbgpd_install_conf();
</custom_php_resync_config_command>
diff --git a/config/openbgpd/openbgpd_groups.xml b/config/openbgpd/openbgpd_groups.xml
index f43ab466..3ece75f2 100644
--- a/config/openbgpd/openbgpd_groups.xml
+++ b/config/openbgpd/openbgpd_groups.xml
@@ -105,9 +105,6 @@
<size>80</size>
</field>
</fields>
- <custom_php_deinstall_command>
- deinstall_openbgpd();
- </custom_php_deinstall_command>
<custom_php_resync_config_command>
openbgpd_install_conf();
</custom_php_resync_config_command>