diff options
author | PÁLI Gábor János <pali.gabor@gmail.com> | 2023-09-26 10:03:48 +0200 |
---|---|---|
committer | PÁLI Gábor János <pali.gabor@gmail.com> | 2023-09-26 11:53:45 +0200 |
commit | 2646128d92561b62fe4ea863aee9cad4b5fa8eda (patch) | |
tree | 122092ba14f8db06bd69c5110112d2494b320d38 /aports/busybox/defaults.initd | |
parent | fdf0ee1aed41faf765016b4571a5d0cadaac70fa (diff) | |
download | freebsd-wifibox-alpine-2646128d92561b62fe4ea863aee9cad4b5fa8eda.zip |
Implement daisy-chaining of `dhcpcd` and `radvd`
Diffstat (limited to 'aports/busybox/defaults.initd')
-rw-r--r-- | aports/busybox/defaults.initd | 6 |
1 files changed, 6 insertions, 0 deletions
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 $? } |