<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/netplug/S29netplug, branch 2019.02-op-build</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2019-02-08T10:35:22+00:00</updated>
<entry>
<title>packages: update sysv S* scripts to 644</title>
<updated>2019-02-08T10:35:22+00:00</updated>
<author>
<name>Matt Weber</name>
<email>matthew.weber@rockwellcollins.com</email>
</author>
<published>2019-02-05T19:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=590e9e05b683ee521d4984b5cb77a590ebb3fd17'/>
<id>urn:sha1:590e9e05b683ee521d4984b5cb77a590ebb3fd17</id>
<content type='text'>
Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/netplug: fix quoting of ${NETWORKING} in init script</title>
<updated>2018-11-20T07:56:32+00:00</updated>
<author>
<name>Thomas Claveirole</name>
<email>thomas.claveirole@green-communications.fr</email>
</author>
<published>2018-11-15T13:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5682ba9363d262a67567ed9b0531a414e6aae1bb'/>
<id>urn:sha1:5682ba9363d262a67567ed9b0531a414e6aae1bb</id>
<content type='text'>
Since 4adaa581b27dc27298eb7cc421ee8f530f88e18e, S29netplug looks for
/etc/default/network instead of /etc/sysconfig/network.  When this
file exists but does not define $NETWORKING, the script fails on line
29 with something like:

/etc/init.d/S29netplug: 29: [: =: unexpected operator

Fix quoting so this error no longer happens.

Signed-off-by: Thomas Claveirole &lt;thomas.claveirole@green-communications.fr&gt;
[Thomas: keep double quotes around "no", keep curly braces when
referencing the variable.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>netplug: prevent starting multiple instances of netplugd</title>
<updated>2018-06-07T14:03:33+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-06-07T01:36:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=3c6a5bdd3ed94f97afe2db9123d7117f85f654ce'/>
<id>urn:sha1:3c6a5bdd3ed94f97afe2db9123d7117f85f654ce</id>
<content type='text'>
Executing "/etc/init.d/S29netplug start" multiple times resulted in
multiple instances of netplugd.

Pass "-p /var/run/netplug.pid" to netplugd, so it creates the PID file
that start-stop-daemon needs to know that netplugd is already running.
Also use the pid file to stop netplugd, instead of the daemon name.

Fixes https://bugs.busybox.net/show_bug.cgi?id=10661

Reported-by: Joachim Krueger &lt;mail2k@web.de&gt;
Signed-off-by: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>netplug: look for init script configurations in /etc/default/</title>
<updated>2018-06-05T07:58:37+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-06-05T02:11:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4adaa581b27dc27298eb7cc421ee8f530f88e18e'/>
<id>urn:sha1:4adaa581b27dc27298eb7cc421ee8f530f88e18e</id>
<content type='text'>
We are working to make all sysvinit scripts conformant to a pattern and
/etc/default/ seems to be a good choice, since 34 packages already get
optional configurations from files at that directory.

netplug still installs an init script at /etc/rc.d/init.d/.  This will
be fixed in a future patch that will refactor the init scripts.

Signed-off-by: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>netplug: don't test if the binary exists in the init script</title>
<updated>2018-04-16T05:34:46+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.ind.br</email>
</author>
<published>2018-04-16T02:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b77c9d265ed678ec6c0ad9c1e1e5c6ada7206ced'/>
<id>urn:sha1:b77c9d265ed678ec6c0ad9c1e1e5c6ada7206ced</id>
<content type='text'>
The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package/netplug: init script create needed lock directory</title>
<updated>2017-09-05T19:29:59+00:00</updated>
<author>
<name>Julien Corjon</name>
<email>corjon.j@ecagroup.com</email>
</author>
<published>2017-09-05T09:54:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c81c6d8f3d5bdf1825acaa27428c9e25def48593'/>
<id>urn:sha1:c81c6d8f3d5bdf1825acaa27428c9e25def48593</id>
<content type='text'>
Init script use /var/lock/subsys/netplugd but directory
/var/lock/subsys can be missing.

Signed-off-by: Julien Corjon &lt;corjon.j@ecagroup.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package: Replace 'echo -n' by 'printf'</title>
<updated>2015-10-03T22:56:41+00:00</updated>
<author>
<name>Maxime Hadjinlian</name>
<email>maxime.hadjinlian@gmail.com</email>
</author>
<published>2015-10-03T21:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=0f75b2635ee564fbbdb9ea631cf39fa8731d6d6c'/>
<id>urn:sha1:0f75b2635ee564fbbdb9ea631cf39fa8731d6d6c</id>
<content type='text'>
'echo -n' is not a POSIX construct (no flag support), we shoud use
'printf', especially in init script.

This patch was generated by the following command line:
git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/'

Signed-off-by: Maxime Hadjinlian &lt;maxime.hadjinlian@gmail.com&gt;
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>Remove stray $ character from a bunch of init scripts</title>
<updated>2012-03-15T21:11:25+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca@lucaceresoli.net</email>
</author>
<published>2012-03-15T21:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=1a994d58afcd401afd1581035f98adede78bcdd1'/>
<id>urn:sha1:1a994d58afcd401afd1581035f98adede78bcdd1</id>
<content type='text'>
Signed-off-by: Luca Ceresoli &lt;luca@lucaceresoli.net&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>Don't use long options to start-stop-daemon as they may be disabled in the busybox configuration</title>
<updated>2008-03-18T00:20:24+00:00</updated>
<author>
<name>Hamish Moffatt</name>
<email>hamish@cloud.net.au</email>
</author>
<published>2008-03-18T00:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=aa73d1753056b5abb806c0e10f99672c60599c5c'/>
<id>urn:sha1:aa73d1753056b5abb806c0e10f99672c60599c5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename all INIT scripts to have the numerical prefixes to easily see the start-up order.</title>
<updated>2007-05-09T22:48:41+00:00</updated>
<author>
<name>"Steven J. Hill"</name>
<email>sjhill@realitydiluted.com</email>
</author>
<published>2007-05-09T22:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6b00c90d709a01822027fb9986ec8ace605dd991'/>
<id>urn:sha1:6b00c90d709a01822027fb9986ec8ace605dd991</id>
<content type='text'>
</content>
</entry>
</feed>
