<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/base-files/files/etc/init.d/sysctl, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>base-files: fix wrong sysctl parameter order</title>
<updated>2018-07-18T17:17:46+00:00</updated>
<author>
<name>Luiz Angelo Daros de Luca</name>
<email>luizluca@gmail.com</email>
</author>
<published>2018-07-17T22:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4c4288728611d334efb777b74e737e1f98e0dc1b'/>
<id>4c4288728611d334efb777b74e737e1f98e0dc1b</id>
<content type='text'>
Restarting service sysctl echos multiple errors like:

  sysctl: -e: No such file or directory

After the first filename, all remaining arguments are treated
as files.

Signed-off-by: Luiz Angelo Daros de Luca &lt;luizluca@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restarting service sysctl echos multiple errors like:

  sysctl: -e: No such file or directory

After the first filename, all remaining arguments are treated
as files.

Signed-off-by: Luiz Angelo Daros de Luca &lt;luizluca@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: disable accept_ra by default</title>
<updated>2018-04-17T20:08:12+00:00</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2018-04-12T20:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=bb46520159c0119e829900e29681feea6f297fe0'/>
<id>bb46520159c0119e829900e29681feea6f297fe0</id>
<content type='text'>
Our commands setting accept_ra to 0 on all interfaces got lost in the
transition to procd. This remained unnoticed for a long time, as we also
enable forwarding on all interfaces, which prevents RA handling by default.

Restore the commands, while also fixing a possible race condition in the
old version.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our commands setting accept_ra to 0 on all interfaces got lost in the
transition to procd. This remained unnoticed for a long time, as we also
enable forwarding on all interfaces, which prevents RA handling by default.

Restore the commands, while also fixing a possible race condition in the
old version.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: evaluate /etc/sysctl.d/* before /etc/sysctl.conf</title>
<updated>2018-04-13T08:16:45+00:00</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2018-04-12T15:33:51+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=dbeb780ba423fc5aae66f503cf91b24a31db6d71'/>
<id>dbeb780ba423fc5aae66f503cf91b24a31db6d71</id>
<content type='text'>
We can use /etc/sysctl.d/* for package-supplied sysctl snippets, giving
admins the option to use /etc/sysctl.conf to override settings.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can use /etc/sysctl.d/* for package-supplied sysctl snippets, giving
admins the option to use /etc/sysctl.conf to override settings.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: tune fragment queue thresholds for available system memory</title>
<updated>2018-03-07T18:14:22+00:00</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2018-03-05T08:13:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=057369ae1f3ad8d10b1a9e0baa5b63bc2b9087f5'/>
<id>057369ae1f3ad8d10b1a9e0baa5b63bc2b9087f5</id>
<content type='text'>
The default fragment low/high thresholds are 3 and 4 MB. On devices with
only 32MB RAM, these settings may lead to OOM when many fragments that
cannot be reassembled are received. Decrease fragment low/high thresholds
to 384 and 512 kB on devices with less than 64 MB RAM.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default fragment low/high thresholds are 3 and 4 MB. On devices with
only 32MB RAM, these settings may lead to OOM when many fragments that
cannot be reassembled are received. Decrease fragment low/high thresholds
to 384 and 512 kB on devices with less than 64 MB RAM.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: reduce vm.min_free_kbytes for devices with 32M RAM</title>
<updated>2016-09-16T14:44:45+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-09-16T14:44:28+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=25dab5d217715300dc609df07b56e5b73cefdfc1'/>
<id>25dab5d217715300dc609df07b56e5b73cefdfc1</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: increase vm.min_free_kbytes</title>
<updated>2016-08-01T12:53:27+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-08-01T12:52:13+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5c9cc7b7f8920944a413644e1c2ea23bfe655bcb'/>
<id>5c9cc7b7f8920944a413644e1c2ea23bfe655bcb</id>
<content type='text'>
Network drivers typically allocate memory in atomic context. For that to
be reliable, there needs to be enough free memory. Set the value
heuristically based on the total amount of system RAM.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Network drivers typically allocate memory in atomic context. For that to
be reliable, there needs to be enough free memory. Set the value
heuristically based on the total amount of system RAM.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sysctl: read settings from /etc/sysctl.d/*.conf</title>
<updated>2015-07-07T13:47:23+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-07-07T13:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3787c32183570e9fa77284ba1ae62fc84e2f83fe'/>
<id>3787c32183570e9fa77284ba1ae62fc84e2f83fe</id>
<content type='text'>
This changes makes it possible to store custom settings
in individual files inside the directory /etc/sysctl.d/.

Signed-off-by: Stefan Tomanek &lt;stefan.tomanek+openwrt@wertarbyte.de&gt;

SVN-Revision: 46239
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes makes it possible to store custom settings
in individual files inside the directory /etc/sysctl.d/.

Signed-off-by: Stefan Tomanek &lt;stefan.tomanek+openwrt@wertarbyte.de&gt;

SVN-Revision: 46239
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: fix whitespaces</title>
<updated>2013-12-09T11:30:14+00:00</updated>
<author>
<name>Luka Perkov</name>
<email>luka@openwrt.org</email>
</author>
<published>2013-12-09T11:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3ceb6b3274d75fb5dc05b9eb42f2a98ee445f122'/>
<id>3ceb6b3274d75fb5dc05b9eb42f2a98ee445f122</id>
<content type='text'>
Signed-off-by: Luka Perkov &lt;luka@openwrt.org&gt;

SVN-Revision: 39006
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Luka Perkov &lt;luka@openwrt.org&gt;

SVN-Revision: 39006
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: move sysctl init after boot</title>
<updated>2013-03-26T10:02:58+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jow@openwrt.org</email>
</author>
<published>2013-03-26T10:02:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=6bddf226d3ba4180bcd7e2be7b0a40e91c5482ca'/>
<id>6bddf226d3ba4180bcd7e2be7b0a40e91c5482ca</id>
<content type='text'>
SVN-Revision: 36131
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 36131
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: fix bad start index in previous commit</title>
<updated>2013-03-25T18:45:23+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jow@openwrt.org</email>
</author>
<published>2013-03-25T18:45:23+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7aace3ee3e569c923170815beb430e2f8384e323'/>
<id>7aace3ee3e569c923170815beb430e2f8384e323</id>
<content type='text'>
SVN-Revision: 36130
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 36130
</pre>
</div>
</content>
</entry>
</feed>
