diff options
| -rw-r--r-- | meta-networking/recipes-daemons/radvd/files/radvd.conf | 18 | ||||
| -rw-r--r-- | meta-networking/recipes-daemons/radvd/radvd.inc | 5 |
2 files changed, 22 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/radvd/files/radvd.conf b/meta-networking/recipes-daemons/radvd/files/radvd.conf new file mode 100644 index 0000000000..c006f86313 --- /dev/null +++ b/meta-networking/recipes-daemons/radvd/files/radvd.conf | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # NOTE: there is no such thing as a working "by-default" configuration file. | ||
| 2 | # At least the prefix needs to be specified. Please consult the radvd.conf(5) | ||
| 3 | # man page and/or /usr/share/doc/radvd-*/radvd.conf.example for help. | ||
| 4 | # | ||
| 5 | # | ||
| 6 | #interface eth0 | ||
| 7 | #{ | ||
| 8 | # AdvSendAdvert on; | ||
| 9 | # MinRtrAdvInterval 30; | ||
| 10 | # MaxRtrAdvInterval 100; | ||
| 11 | # prefix 2001:db8:1:0::/64 | ||
| 12 | # { | ||
| 13 | # AdvOnLink on; | ||
| 14 | # AdvAutonomous on; | ||
| 15 | # AdvRouterAddr off; | ||
| 16 | # }; | ||
| 17 | # | ||
| 18 | #}; | ||
diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc b/meta-networking/recipes-daemons/radvd/radvd.inc index 59a07d78dc..802dbe34e9 100644 --- a/meta-networking/recipes-daemons/radvd/radvd.inc +++ b/meta-networking/recipes-daemons/radvd/radvd.inc | |||
| @@ -18,7 +18,8 @@ SRC_URI = "http://v6web.litech.org/radvd/dist/radvd-${PV}.tar.gz \ | |||
| 18 | file://radvd.init \ | 18 | file://radvd.init \ |
| 19 | file://radvd.service \ | 19 | file://radvd.service \ |
| 20 | file://volatiles.03_radvd \ | 20 | file://volatiles.03_radvd \ |
| 21 | file://radvd.default" | 21 | file://radvd.default \ |
| 22 | file://radvd.conf" | ||
| 22 | 23 | ||
| 23 | inherit autotools useradd pkgconfig systemd | 24 | inherit autotools useradd pkgconfig systemd |
| 24 | 25 | ||
| @@ -52,6 +53,8 @@ do_install_append () { | |||
| 52 | for i in radvd.conf.example README; do \ | 53 | for i in radvd.conf.example README; do \ |
| 53 | install -m 0644 ${S}/$i ${D}${docdir}/radvd; \ | 54 | install -m 0644 ${S}/$i ${D}${docdir}/radvd; \ |
| 54 | done | 55 | done |
| 56 | |||
| 57 | install -m 0644 ${WORKDIR}/radvd.conf ${D}${sysconfdir}/radvd.conf | ||
| 55 | } | 58 | } |
| 56 | 59 | ||
| 57 | USERADD_PACKAGES = "${PN}" | 60 | USERADD_PACKAGES = "${PN}" |
