fff-network: Remove dependency to uradvd

As odhcpd is used as router advertisement server in layer3 variant,
but configurenetwork is still necessary, the dependency to fff-uradvd has
to be removed.

This is done by first checking, if the fff-uradvd service exists, before it
is restarted.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
Fabian Bläse 2019-09-08 15:09:06 +02:00
parent 3f86bfc70a
commit ccfde6c655
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ define Package/$(PKG_NAME)
CATEGORY:=Freifunk
TITLE:= Freifunk-Franken network configuration
URL:=http://www.freifunk-franken.de
DEPENDS:=+fff-uradvd +fff-boardname +fff-firewall
DEPENDS:=+fff-boardname +fff-firewall
endef
define Package/$(PKG_NAME)/description

View File

@ -259,5 +259,5 @@ else
uci -q commit network
/etc/init.d/fff-uradvd restart
[ -s /etc/init.d/fff-uradvd ] && /etc/init.d/fff-uradvd restart
fi