summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 21:56:13 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 21:56:13 -0400
commit9dac9942c2978995e4721f2024b88b7ea9abb65a (patch)
tree11695908db43d00e19cd5b0f586202f8abc9e43d
parent0d9d2a1b4cb50e5ef7ba17fe74f39000ae2c3eb0 (diff)
downloadpfsense-9dac9942c2978995e4721f2024b88b7ea9abb65a.zip
pfsense-9dac9942c2978995e4721f2024b88b7ea9abb65a.tar.gz
Add space after tabs
-rw-r--r--etc/inc/system.inc54
1 files changed, 27 insertions, 27 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 6c7a27b..093730d 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -356,7 +356,7 @@ function system_syslogd_start() {
$separatelogfacilities = $separatelogfacilities + $pkgfacilities;
$facilitylist = implode(',', $pkgfacilities);
mwexec("fifolog_create -s 10240 {$g['varlog_path']}/{$package['logging']['logfilename']}");
- $syslogconf .= "!{$facilitylist}\n*.*\t\t\t\t\t\t|/usr/sbin/fifolog_writer {$g['varlog_path']}/{$package['logging']['logfilename']}\n";
+ $syslogconf .= "!{$facilitylist}\n*.*\t\t\t\t\t\t |/usr/sbin/fifolog_writer {$g['varlog_path']}/{$package['logging']['logfilename']}\n";
}
}
}
@@ -369,49 +369,49 @@ function system_syslogd_start() {
}
$syslogconf .= "!ntpdate,!ntpd\n";
if (!isset($syslogcfg['disablelocallogging']))
- $syslogconf .= "*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/ntpd.log\n";
+ $syslogconf .= "*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/ntpd.log\n";
$syslogconf .= "!racoon\n";
if (!isset($syslogcfg['disablelocallogging']))
- $syslogconf .= "*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/ipsec.log\n";
+ $syslogconf .= "*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/ipsec.log\n";
if (isset($syslogcfg['vpn']))
- $syslogconf .= "*.* @{$syslogcfg['remoteserver']}\n";
+ $syslogconf .= "*.* @{$syslogcfg['remoteserver']}\n";
$syslogconf .= "!openvpn\n";
if (!isset($syslogcfg['disablelocallogging']))
- $syslogconf .= "*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/openvpn.log\n";
+ $syslogconf .= "*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/openvpn.log\n";
if (isset($syslogcfg['vpn']))
- $syslogconf .= "*.* @{$syslogcfg['remoteserver']}\n";
+ $syslogconf .= "*.* @{$syslogcfg['remoteserver']}\n";
$syslogconf .= "!-{$facilitylist}\n";
if (!isset($syslogcfg['disablelocallogging']))
$syslogconf .= <<<EOD
-local0.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/filter.log
-local3.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/vpn.log
-local4.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/portalauth.log
-local7.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/dhcpd.log
-*.notice;kern.debug;lpr.info;mail.crit; |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
-news.err;local0.none;local3.none;local4.none; |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
-local7.none |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
-security.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
-auth.info;authpriv.info;daemon.info |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
-local1.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/relayd.log
-auth.info;authpriv.info |exec /usr/local/sbin/sshlockout_pf
-*.emerg *
+local0.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/filter.log
+local3.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/vpn.log
+local4.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/portalauth.log
+local7.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/dhcpd.log
+*.notice;kern.debug;lpr.info;mail.crit; |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
+news.err;local0.none;local3.none;local4.none; |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
+local7.none |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
+security.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
+auth.info;authpriv.info;daemon.info |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log
+local1.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/relayd.log
+auth.info;authpriv.info |exec /usr/local/sbin/sshlockout_pf
+*.emerg *
EOD;
if (isset($syslogcfg['filter']))
- $syslogconf .= "local0.* @{$syslogcfg['remoteserver']}\n";
+ $syslogconf .= "local0.* @{$syslogcfg['remoteserver']}\n";
if (isset($syslogcfg['vpn']))
- $syslogconf .= "local3.* @{$syslogcfg['remoteserver']}\n";
+ $syslogconf .= "local3.* @{$syslogcfg['remoteserver']}\n";
if (isset($syslogcfg['portalauth']))
- $syslogconf .= "local4.* @{$syslogcfg['remoteserver']}\n";
+ $syslogconf .= "local4.* @{$syslogcfg['remoteserver']}\n";
if (isset($syslogcfg['dhcp']))
- $syslogconf .= "local7.* @{$syslogcfg['remoteserver']}\n";
+ $syslogconf .= "local7.* @{$syslogcfg['remoteserver']}\n";
if (isset($syslogcfg['system']))
$syslogconf .= <<<EOD
-*.notice;kern.debug;lpr.info;mail.crit; @{$syslogcfg['remoteserver']}
-news.err;local0.none;local3.none;local7.none @{$syslogcfg['remoteserver']}
-security.* @{$syslogcfg['remoteserver']}
-auth.info;authpriv.info;daemon.info @{$syslogcfg['remoteserver']}
-*.emerg @{$syslogcfg['remoteserver']}
+*.notice;kern.debug;lpr.info;mail.crit; @{$syslogcfg['remoteserver']}
+news.err;local0.none;local3.none;local7.none @{$syslogcfg['remoteserver']}
+security.* @{$syslogcfg['remoteserver']}
+auth.info;authpriv.info;daemon.info @{$syslogcfg['remoteserver']}
+*.emerg @{$syslogcfg['remoteserver']}
EOD;
fwrite($fd, $syslogconf);
OpenPOWER on IntegriCloud