diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-06 08:34:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-06 08:35:20 +0000 |
commit | 692420e9abb5049050b09d1385ad98befba1ecfc (patch) | |
tree | b87557a9306913e3e975fda6701b26f44f5aff9e /main/busybox-initscripts | |
parent | f791960d2eb602b0d241125ca063720e9fb7e7ca (diff) | |
download | aports-692420e9abb5049050b09d1385ad98befba1ecfc.tar.bz2 aports-692420e9abb5049050b09d1385ad98befba1ecfc.tar.xz |
main/busybox-initscripts: add support for broadcast from dhcp
ref #2880
Diffstat (limited to 'main/busybox-initscripts')
-rw-r--r-- | main/busybox-initscripts/APKBUILD | 8 | ||||
-rw-r--r-- | main/busybox-initscripts/default.script | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD index cc069b117e..2476efab13 100644 --- a/main/busybox-initscripts/APKBUILD +++ b/main/busybox-initscripts/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=busybox-initscripts pkgver=2.2 -pkgrel=17 +pkgrel=18 pkgdesc="Init scripts for busybox daemons" url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts" arch="noarch" @@ -75,7 +75,7 @@ ad1556961294e4aa2abca6be52138b7c dvbdev daf57f3d0372f825ddc05b00973e5afe usbdev 30b0c85956b6701caf55309a17e537f6 usbdisk_link 826d85313ca7a4a0205d63bd58b7d01f xvd_links -a289eb94c83d9b681967785f017c1ab9 default.script" +0a5a4fbc9e16e625b503c3cf1a52a663 default.script" sha256sums="894bf4edd028433bcfa5863b225387a94db477e9b4319f1655dd74907366d245 acpid.initd 9e631207340e1879318ad377b9d74ad77978c5db8bcea1bb0a4871525d67a8e7 cron.initd 5e8f251a3698700bc3cc064dd3dc85f791c6a66d32d088e107de7ac71be70697 dnsd.initd @@ -100,7 +100,7 @@ ef091bb4c8943a99b9a97b556cdc15ddd20275f5afa8287e201419b08c4e71de dvbdev dcb0c37590019bccb4c31a5372cbf7728eae6f1174d56bf0708d7504243a5fbb usbdev 4957f6991e0cb988b263b5276b582f1757deecad19cddebe3c615b381df9f858 usbdisk_link 86ed99205050a5dcca8a27c7e8658df8c55dc85ed810db0d64b51f7c63aa140e xvd_links -be6477938854793cdb38fa35a91d512d95a9d45dfc8f5b79915c30fee5145cbb default.script" +bc0a3ecc098acd72a9d8ebdd54ec7672c73ca3efac776140ceff402dc6413798 default.script" sha512sums="bbd5cb45af37114a1d106e1dad6839e98c62714f94e44e480e46f7c806c6d6c434e7852980139222493fb74760f2815bbdc4bc97a683d1f3345315991056c8fa acpid.initd 44cacb40d7e732443a3bbc550b907858b404ddba928c7c30d22dfe672c36dd060b9ffa57b11584ece6a7fd5f01c056dd8b61862a2d4e0e7a47e4181784ee4af5 cron.initd 900ca3d192b3edade80b9b8b660bfe2897522ef6f36c342ea16d6f21e6d2acc609d66fc7c77133b03239f19bee2a6227851bc75279ebcab561d6784e947b6328 dnsd.initd @@ -125,4 +125,4 @@ ebd82f935da2ca89097234dd8a8f47e179a423652c151123a1f3343f3e1e7bfaba2b8800380e988d b2dcf0ded9264334d79fbbb05dd12d649dc3119a060db5893f0e8aeca2141323961c3ba4c822a0ffb00dba848742d5cb374dc77e776b57cecde352a3e8e30f8a usbdev 392c40d223bdff59a624bd67907c06cff9c1b5468c25c19e10dbc3cef3208275d93966e760f140d71a86cb36ec796ea08dbaa767b40c12e9326c3c72964b28a8 usbdisk_link 5db6fa8bbb2d891212187c598cd8703277b3fcb95b5dba6628f7128eb48cc7c1bf4c53885e9d870999c8c95d2fe9cd27609b523596dc553c31b6f72a452a0118 xvd_links -4e49a18f0a410ceed9976ffa8aae087f2eea055f6e147ba6ba108cc7382495cffad09577070116c1d5f7f8dbac426cb8a1859ab76b623858e3f5ea14c5f3f9a4 default.script" +0dd916af11af914618af5be04cf08b72c279dba37ec358360865e9ed1a70b2ce9a5629f3738a5d3217679b24549ea20da92f0bcd90c81bc9ccb460f6b152468b default.script" diff --git a/main/busybox-initscripts/default.script b/main/busybox-initscripts/default.script index b638251b52..f5d5f61b63 100644 --- a/main/busybox-initscripts/default.script +++ b/main/busybox-initscripts/default.script @@ -85,7 +85,7 @@ resolvconf() { } bound() { - ip addr add $ip/$mask dev $interface + ip addr add $ip/$mask ${broadcast:+broadcast $broadcast} dev $interface ip link set dev $interface up routes resolvconf @@ -94,7 +94,7 @@ bound() { renew() { if ! ip addr show dev $interface | grep $ip/$mask; then ip addr flush dev $interface - ip addr add $ip/$mask dev $interface + ip addr add $ip/$mask ${broadcast:+broadcast $broadcast} dev $interface fi local i |