[packages] tinc: The initscript for tinc writes a temporary config into /tmp/tinc.
authorzioproto <zioproto@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 8 Jan 2013 18:56:32 +0000 (18:56 +0000)
committerzioproto <zioproto@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 8 Jan 2013 18:56:32 +0000 (18:56 +0000)
commitd19e83bdebdb98a712338c3580259f0e1ca9b066
treed7927db12b0f47186f82226a4de5a3e0ebd30f33
parent8abf8bf886b9bd2a7bd30edb6794e1596acc6404
[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>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35053 3c298f89-4303-0410-b956-a3cf2f4a3e73
net/tinc/files/tinc.init