aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinc/tinc.inc
diff options
context:
space:
mode:
authorapnar <jlukens@botch.com>2012-09-04 00:18:37 +0000
committerapnar <jlukens@botch.com>2012-09-04 00:18:37 +0000
commit2e7df9eeebad6ad70e18024feb2354fd8f400372 (patch)
tree65d4f9fad5b5fbcb46ddf10a58ecc9ae65ee90f9 /config/tinc/tinc.inc
parente732b03ead7f7e57b82738fb432f2f4b5dc8254a (diff)
downloadpfsense-packages-2e7df9eeebad6ad70e18024feb2354fd8f400372.tar.gz
pfsense-packages-2e7df9eeebad6ad70e18024feb2354fd8f400372.tar.bz2
pfsense-packages-2e7df9eeebad6ad70e18024feb2354fd8f400372.zip
try to manually force a larger syslog file
Diffstat (limited to 'config/tinc/tinc.inc')
-rw-r--r--config/tinc/tinc.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/tinc/tinc.inc b/config/tinc/tinc.inc
index 0881eeac..34deaedb 100644
--- a/config/tinc/tinc.inc
+++ b/config/tinc/tinc.inc
@@ -137,6 +137,8 @@ function tinc_install() {
$_rcfile['stop'].="/usr/local/sbin/tincd --kill \n\t";
write_rcfile($_rcfile);
unlink_if_exists("/usr/local/etc/rc.d/tincd");
+ unlink_if_exists("/var/log/tinc.log");
+ exec("/usr/sbin/clog -i -s 512144 /var/log/tinc.log");
conf_mount_rw();
config_lock();