From d85c108f6dc734e5382682a531fabbf90412f00d Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 25 Aug 2015 09:36:59 +0200 Subject: Remove useless deinstall_openbgpd() function All of these are dealt with by uninstall_package() and delete_package_xml() from pkg-utils.inc. --- config/openbgpd/openbgpd.inc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'config/openbgpd') 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; -- cgit v1.2.3