diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:15:07 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:15:07 +0200 |
commit | 99a1ced0ff2b26eaa551d80c11addda3b391c3a9 (patch) | |
tree | b1dfa8148318a32ffc8f2e38bc111d812081ae98 | |
parent | c1952a8ff6f1410dae9e5453c8d20c5d903a1d77 (diff) | |
download | pfsense-packages-99a1ced0ff2b26eaa551d80c11addda3b391c3a9.tar.gz pfsense-packages-99a1ced0ff2b26eaa551d80c11addda3b391c3a9.tar.bz2 pfsense-packages-99a1ced0ff2b26eaa551d80c11addda3b391c3a9.zip |
Remove useless remount calls and other redundant stuff
These are dealt with by uninstall_package() and delete_package_xml() from pkg-utils.inc.
-rw-r--r-- | config/zabbix-proxy-lts/zabbix-proxy-lts.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/zabbix-proxy-lts/zabbix-proxy-lts.inc b/config/zabbix-proxy-lts/zabbix-proxy-lts.inc index f1b877b5..39ef4f2b 100644 --- a/config/zabbix-proxy-lts/zabbix-proxy-lts.inc +++ b/config/zabbix-proxy-lts/zabbix-proxy-lts.inc @@ -41,10 +41,6 @@ if ($pf_version == "2.1" || $pf_version == "2.2") { } function php_deinstall_zabbix_proxy_lts() { - conf_mount_rw(); - - stop_service("zabbix_proxy_lts"); - unlink_if_exists(ZABBIX_PROXY_BASE . "/etc/rc.d/zabbix_proxy_lts.sh"); unlink_if_exists(ZABBIX_PROXY_BASE . "/etc/zabbix22/zabbix_proxy_lts.conf"); unlink_if_exists("/var/log/zabbix-proxy-lts/zabbix_proxy_lts.log"); unlink_if_exists("/var/run/zabbix-proxy-lts/zabbix_proxy_lts.pid"); @@ -58,8 +54,6 @@ function php_deinstall_zabbix_proxy_lts() { if (is_dir("/var/db/zabbix-proxy-lts")) { mwexec("/bin/rm -rf /var/db/zabbix-proxy-lts/"); } - - conf_mount_ro(); } function validate_input_zabbix_proxy_lts($post, &$input_errors) { |