]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
radvd: Use network scripts to generate configuration file.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Aug 2011 09:21:18 +0000 (11:21 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Aug 2011 09:21:18 +0000 (11:21 +0200)
pkgs/radvd/radvd.nm
pkgs/radvd/systemd/radvd.service

index d82c7e98c8cb0d54922f92dcb3a94ca7a82f30a3..bb9dfa1e2eb3ff8fe850fe2f509e1b14ea6e0ecf 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = radvd
 PKG_VER        = 1.8
-PKG_REL        = 3
+PKG_REL        = 4
 
 PKG_MAINTAINER =
 PKG_GROUPS     = System/Daemons
@@ -35,6 +35,7 @@ PKG_LICENSE    = BSD with advertising
 PKG_SUMMARY    = A Router Advertisement daemon.
 
 PKG_BUILD_DEPS+= flex flex-devel bison
+PKG_DEPS      += /lib/network/network-radvd-config
 
 define PKG_DESCRIPTION
        radvd is the router advertisement daemon for IPv6. It listens to \
index 08cbc1eefd90c8c86aab61b46e788c15ab90cfb8..25cff9994957b4567b11ad9f428274174f6ac743 100644 (file)
@@ -4,7 +4,9 @@ Requires=network.target
 After=network.target
 
 [Service]
+ExecStartPre=/lib/network/network-radvd-config start
 ExecStart=/usr/sbin/radvd -C /etc/radvd.conf -u radvd
+ExecStopPre=/lib/network/network-radvd-config stop
 ExecReload=/bin/kill -HUP $MAINPID
 Type=forking
 PIDFile=/run/radvd/radvd.pid