aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinc/tinc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/tinc/tinc.inc')
-rw-r--r--config/tinc/tinc.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/tinc/tinc.inc b/config/tinc/tinc.inc
index 34deaedb..a17fad27 100644
--- a/config/tinc/tinc.inc
+++ b/config/tinc/tinc.inc
@@ -137,8 +137,7 @@ 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");
+ clear_log_file("/var/log/tinc.log");
conf_mount_rw();
config_lock();