summaryrefslogtreecommitdiff
path: root/aports/busybox
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2023-09-26 10:03:48 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2023-09-26 11:53:45 +0200
commit2646128d92561b62fe4ea863aee9cad4b5fa8eda (patch)
tree122092ba14f8db06bd69c5110112d2494b320d38 /aports/busybox
parentfdf0ee1aed41faf765016b4571a5d0cadaac70fa (diff)
downloadfreebsd-wifibox-alpine-2646128d92561b62fe4ea863aee9cad4b5fa8eda.zip
Implement daisy-chaining of `dhcpcd` and `radvd`
Diffstat (limited to 'aports/busybox')
-rw-r--r--aports/busybox/APKBUILD4
-rw-r--r--aports/busybox/defaults.initd6
2 files changed, 8 insertions, 2 deletions
diff --git a/aports/busybox/APKBUILD b/aports/busybox/APKBUILD
index 40e77d6..633f898 100644
--- a/aports/busybox/APKBUILD
+++ b/aports/busybox/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Gabor Pali <pali.gabor@gmail.com>
pkgname=busybox
pkgver=1.36.1
-pkgrel=0 # base: 2
+pkgrel=1 # base: 2
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url="https://busybox.net/"
arch="all"
@@ -222,7 +222,7 @@ b1e13a736eaf8a621b648d97c2526fe72215a5bfb13277a58c7d631bcee08cbcea20dd3d11ea8a97
fcb532233fd7ba8cad302d037b88cff00ee8b96b37c90b34fc823479208cf7cdda48818c972ce2c4703b7283fd58e99ba8a724818f884f3b09eaa7e2d6ffad21 acpid.initd
34c6f3197064bb91619b899b28a201bd4d920b18bded3845440b2cb36dc6f16cabf447c96878349b16e46c30184cbe48bac00a01c5f7cf1be038c0b7136064c5 crond.confd
f3a104095c659eef79925e8df850cdac499f6c7756fb9647088a24b98dc72f37413c3869da6113bcc578c2178c1c2e5ab8d31a50ad2e472c06aaf408e8924d6a crond.initd
-23ef7f32447f239b617d5ae221b024c7b47ca4faa9a27f80a4a6a473fd148cb4339a728fee3bb55ce67d531a141ec07c66dca533138652058d3a6a936b68d3c7 defaults.initd
+4624388f7e853fc1c2cdb170b31e60888ed9226bb62c3c1f59f06b91a6c9f8d4feb10f5680b1fbebc516967058ad247ecbcd5dc7d4c0ca43d542cdb6b669bad9 defaults.initd
bf8173ee33a5d2b61cbdbc1b070e599a17a21e5433a0d8aa9beef71e4ac831304076af8e7e58dc594cdee61562329793afdc57af91e5496bf5fffb9b734a3d9c syslog.confd
a13a6add6f7fb10a3a2563391b6f8b68161249147e9f50e6d857c5689123f6d974368ce4f13b8d93312fa38d05f604d67c4c976d8a7eef301af50a3a6ad50c23 syslog.initd
2947b23728d3ad6839f660fee11fc4c86d0d1a3fc450ceff85480932b0699e7b7293eb7258cf0e957542ed3c7a4416376ebb284992e6682aede61f48069b1043 udhcpd.confd
diff --git a/aports/busybox/defaults.initd b/aports/busybox/defaults.initd
index a92a942..c11316b 100644
--- a/aports/busybox/defaults.initd
+++ b/aports/busybox/defaults.initd
@@ -8,5 +8,11 @@ start() {
if [ ! -s "$UDHCPD_CONF" ] ; then
sed 's|%%DNS%%||' < "$UDHCPD_CONF_TEMPLATE" > "$UDHCPD_CONF"
fi
+ if [ -f /etc/conf.d/radvd ]; then
+ . /etc/conf.d/radvd
+ if [ ! -s "$CONFIGFILE" ]; then
+ sed 's|%%DNS%%||' < "$CONFIGFILE_TEMPLATE" > "$CONFIGFILE"
+ fi
+ fi
eend $?
}