[packages] tinc: The initscript for tinc writes a temporary config into /tmp/tinc.
authorSaverio Proto <zioproto@gmail.com>
Tue, 8 Jan 2013 18:56:32 +0000 (18:56 +0000)
committerSaverio Proto <zioproto@gmail.com>
Tue, 8 Jan 2013 18:56:32 +0000 (18:56 +0000)
commitcc0bfc4207da45aac10163129173e3e14759c9f5
treed7927db12b0f47186f82226a4de5a3e0ebd30f33
parent578b5411b6655b7a28b3b25d7588e2c9d0722bd2
[packages] tinc: The initscript for tinc writes a temporary config into /tmp/tinc.
In the prepare_net function it appends flags and params from the uci config to
the temporary tinc.conf for each net. These values are appended to the
config file on each /etc/init.d/tinc restart and the file grows. By
removing all old temporary config this problem is solved. Then we should
also remove the temporary config for a net which is stopped to free up
some bytes in memory.
Contribution from Manuel Munz <freifunk@somakoma.de>

SVN-Revision: 35053
net/tinc/files/tinc.init