aboutsummaryrefslogtreecommitdiffstats
path: root/config/openbgpd
diff options
context:
space:
mode:
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>