summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRobert Nelson <robertn@the-nelsons.org>2015-04-09 13:48:41 -0700
committerRenato Botelho <garga@FreeBSD.org>2015-04-13 11:01:40 -0300
commiteb4a5192ae9168ac16ae3a6b1e913db73af7b7c5 (patch)
tree443c3fee4511d9a41182e01f115385f6a6b5a248 /etc
parent9c6de8b8a09414e2e7eb11c4e12f7da3b62c2123 (diff)
downloadpfsense-eb4a5192ae9168ac16ae3a6b1e913db73af7b7c5.zip
pfsense-eb4a5192ae9168ac16ae3a6b1e913db73af7b7c5.tar.gz
Remove obsolete logging code which is duplicated in system_syslogd_start()
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 690d2f6..964f2f4 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -902,10 +902,6 @@ function install_package_xml($pkg) {
/* set up package logging streams */
if($pkg_info['logging']) {
- mwexec("/usr/sbin/fifolog_create -s 32768 {$g['varlog_path']}/{$pkg_info['logging']['logfilename']}");
- @chmod($g['varlog_path'] . '/' . $pkg_info['logging']['logfilename'], 0600);
- add_text_to_file("/etc/syslog.conf", $pkg_info['logging']['facilityname'] . "\t\t\t\t" . $pkg_info['logging']['logfilename']);
- pkg_debug("Adding text to file /etc/syslog.conf\n");
system_syslogd_start();
}
OpenPOWER on IntegriCloud