diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:13:47 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:13:47 +0200 |
commit | c1952a8ff6f1410dae9e5453c8d20c5d903a1d77 (patch) | |
tree | 88bd2c6c42a2128b9c6e55f8045912112b3bfccf /config | |
parent | 53f108ceaf6baf31341ba1b9fba69ccfd9dee9e7 (diff) | |
download | pfsense-packages-c1952a8ff6f1410dae9e5453c8d20c5d903a1d77.tar.gz pfsense-packages-c1952a8ff6f1410dae9e5453c8d20c5d903a1d77.tar.bz2 pfsense-packages-c1952a8ff6f1410dae9e5453c8d20c5d903a1d77.zip |
Remove useless remount calls and other redundant stuff
These are dealt with by uninstall_package() and delete_package_xml() from pkg-utils.inc.
Diffstat (limited to 'config')
-rw-r--r-- | config/zabbix-agent-lts/zabbix-agent-lts.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/zabbix-agent-lts/zabbix-agent-lts.inc b/config/zabbix-agent-lts/zabbix-agent-lts.inc index 7eb7c564..ddf04f6f 100644 --- a/config/zabbix-agent-lts/zabbix-agent-lts.inc +++ b/config/zabbix-agent-lts/zabbix-agent-lts.inc @@ -41,10 +41,6 @@ if ($pf_version == "2.1" || $pf_version == "2.2") { } function php_deinstall_zabbix_agent_lts() { - conf_mount_rw(); - - stop_service("zabbix_agentd_lts"); - unlink_if_exists(ZABBIX_AGENT_BASE . "/etc/rc.d/zabbix_agentd_lts.sh"); unlink_if_exists(ZABBIX_AGENT_BASE . "/etc/zabbix22/zabbix_agentd.conf"); unlink_if_exists("/var/log/zabbix-agent-lts/zabbix_agentd_lts.log"); unlink_if_exists("/var/run/zabbix-agent-lts/zabbix_agentd_lts.pid"); @@ -55,8 +51,6 @@ function php_deinstall_zabbix_agent_lts() { if (is_dir("/var/run/zabbix-agent-lts")) { mwexec("/bin/rm -rf /var/run/zabbix-agent-lts/"); } - - conf_mount_ro(); } function validate_input_zabbix_agent_lts($post, &$input_errors) { |