aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-25 10:03:22 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-25 10:03:22 +0200
commit836c44690134dd104de50f2eab0f042a964af5a6 (patch)
tree698e6f70dc3358259dbc6a5369e77aad475d2fea /config
parent125b62c3a894c398071155b678d100ccb4d5c210 (diff)
downloadpfsense-packages-836c44690134dd104de50f2eab0f042a964af5a6.tar.gz
pfsense-packages-836c44690134dd104de50f2eab0f042a964af5a6.tar.bz2
pfsense-packages-836c44690134dd104de50f2eab0f042a964af5a6.zip
Remove useless remount calls and other redundant stuff
All of these are dealt with by install_package(), uninstall_package() and delete_package_xml() from pkg-utils.inc.
Diffstat (limited to 'config')
-rw-r--r--config/syslog-ng/syslog-ng.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc
index f0c17ff1..57a94f96 100644
--- a/config/syslog-ng/syslog-ng.inc
+++ b/config/syslog-ng/syslog-ng.inc
@@ -52,7 +52,6 @@ function syslogng_get_real_interface_address($interface) {
}
function syslogng_install_command() {
- conf_mount_rw();
if (is_link("/usr/local/lib/syslog-ng")) {
unlink("/usr/local/lib/syslog-ng");
}
@@ -60,20 +59,15 @@ function syslogng_install_command() {
@symlink(SYSLOGNG_BASEDIR . "local/lib/syslog-ng", "/usr/local/lib/syslog-ng");
}
syslogng_install_cron(true);
- conf_mount_ro();
syslogng_resync();
}
function syslogng_deinstall_command() {
- conf_mount_rw();
- service_stop("syslog-ng");
- unlink_if_exists("/usr/local/etc/rc.d/syslog-ng.sh");
if (is_link("/usr/local/lib/syslog-ng"))
unlink("/usr/local/lib/syslog-ng");
syslogng_install_cron(false);
unlink_if_exists("/usr/local/etc/logrotate.conf");
unlink_if_exists("/usr/local/etc/syslog-ng.conf");
- conf_mount_ro();
filter_configure();
}