<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/examples/udhcp/simple.script, branch mount_point</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=mount_point</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=mount_point'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2020-06-21T01:02:02+00:00</updated>
<entry>
<title>examples/udhcp/simple.script: fix IPv6 support when using udhcpc</title>
<updated>2020-06-21T01:02:02+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2020-06-16T08:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=62744efa472886ea8fdeb262dcb184974e3f88de'/>
<id>urn:sha1:62744efa472886ea8fdeb262dcb184974e3f88de</id>
<content type='text'>
The udhcpc script calls ip addr flush .. which flushes addresses
of any address family, including IPv6. However, busybox udhcpc is
IPv4 only and should not influence IPv6 addressing. Hence use ip
addr flush with family constraint.

The script particularly broke IPv6 SLAAC: Typically when udhcpc
calls the script the kernel already assigned the IPv6 link-local
address. The flush removes the link-local IPv6 address again and
prohibits proper IPv6 operation such as SLAAC since neighbor
discovery protocol relies on IPv6 link-local addressing.

Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
[Taken from https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/busybox/files/simple.script?id=b77541dbb2f442e51842f9d24c8745a6df2d1478]
Signed-off-by: Quentin Schulz &lt;quentin.schulz@streamunlimited.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>examples/udhcp/simple.script: print the filename actually changed</title>
<updated>2019-09-12T10:06:46+00:00</updated>
<author>
<name>Rolf Eike Beer</name>
<email>eb@emlix.com</email>
</author>
<published>2019-08-13T15:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7f89ebe18ff2f5b3b5e8b2d617d682cb1d56293b'/>
<id>urn:sha1:7f89ebe18ff2f5b3b5e8b2d617d682cb1d56293b</id>
<content type='text'>
Signed-off-by: Rolf Eike Beer &lt;eb@emlix.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>examples/udhcp/simple.script: up interface on deconfig event</title>
<updated>2019-09-05T12:58:30+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-09-05T12:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=81a708393d851b6b35c9bc3efe0e76ae696c07cc'/>
<id>urn:sha1:81a708393d851b6b35c9bc3efe0e76ae696c07cc</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>examples/udhcp/simple.script: fix resolv.conf update if it is a dangling symlink</title>
<updated>2019-04-13T14:58:00+00:00</updated>
<author>
<name>Rolf Eike Beer</name>
<email>eb@emlix.com</email>
</author>
<published>2019-03-28T14:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7180d9ed863e6ea350938b13384548f4f2617528'/>
<id>urn:sha1:7180d9ed863e6ea350938b13384548f4f2617528</id>
<content type='text'>
If /etc/resolv.conf is a symlink to a tmpfs and the actual file does not
already exist, "readlink -f" will not detect it as symlink. Explicitely check
for that condition before and touch the file, making the other code work as
intended.

Signed-off-by: Rolf Eike Beer &lt;eb@emlix.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>examples/udhcp/simple.script: add possibility to use modern "ip"</title>
<updated>2018-10-30T11:05:03+00:00</updated>
<author>
<name>Jiří Prchal</name>
<email>jiri.prchal@aksignal.cz</email>
</author>
<published>2018-10-04T07:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=47839ae6797bcded0178893cb950d2e2f8be1f6f'/>
<id>urn:sha1:47839ae6797bcded0178893cb950d2e2f8be1f6f</id>
<content type='text'>
Script uses "ifconfig" only, not up-to-date so much.
This patch adds "ip" in condition if exists.

Signed-off-by: Jiří Prchal &lt;jiri.prchal@aksignal.cz&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>examples: make udhcpc script handle /32 netmasks</title>
<updated>2017-04-05T22:53:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-04-05T22:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9c192e7f946a351c811e2278bbf56b4dc6a4b663'/>
<id>urn:sha1:9c192e7f946a351c811e2278bbf56b4dc6a4b663</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc: use readlink rather than realpath</title>
<updated>2013-03-12T14:48:09+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2013-03-12T14:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bca5c556c43ced7b368fdd90a24e4aecf40045ac'/>
<id>urn:sha1:bca5c556c43ced7b368fdd90a24e4aecf40045ac</id>
<content type='text'>
The realpath utility requires all paths exist when canonicalizing
symlinks.  If /etc/resolv.conf points to a tmpfs, then it might
not exist initially.  Use `readlink -f` so that we follow all
symlinks that are available.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>udhcpc: tweak math shell style with the metric var</title>
<updated>2013-02-27T06:05:34+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2013-02-27T06:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9fed24c031a885264a9249eed3b6c654c32ce139'/>
<id>urn:sha1:9fed24c031a885264a9249eed3b6c654c32ce139</id>
<content type='text'>
Some shells (like dash) are lame and omit the POSIX increment/decrement
feature (because it is listed as optional).  Tweak the shell script to
work in all POSIX variants.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>udhcpc: support resolv.conf symlinks</title>
<updated>2013-02-27T06:01:43+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2013-02-27T06:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=39b8fb41c50e6ee0aaca81cde2a4dec98d45ef9a'/>
<id>urn:sha1:39b8fb41c50e6ee0aaca81cde2a4dec98d45ef9a</id>
<content type='text'>
Often it is desirable to have /etc/ be on read-only storage (well, the
whole rootfs) but have things like /etc/resolv.conf be symlinks to a
writable location.  Tweak the simple script to support that.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>chmod 755 some files in examples/*</title>
<updated>2009-07-23T19:30:30+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-07-23T19:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7cc5a504658f0ebf5d7d0d457c1a907898ac68af'/>
<id>urn:sha1:7cc5a504658f0ebf5d7d0d457c1a907898ac68af</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
