forked from freifunk-franken/firmware
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:
parent
3f86bfc70a
commit
ccfde6c655
|
@ -12,7 +12,7 @@ define Package/$(PKG_NAME)
|
||||||
CATEGORY:=Freifunk
|
CATEGORY:=Freifunk
|
||||||
TITLE:= Freifunk-Franken network configuration
|
TITLE:= Freifunk-Franken network configuration
|
||||||
URL:=http://www.freifunk-franken.de
|
URL:=http://www.freifunk-franken.de
|
||||||
DEPENDS:=+fff-uradvd +fff-boardname +fff-firewall
|
DEPENDS:=+fff-boardname +fff-firewall
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/description
|
define Package/$(PKG_NAME)/description
|
||||||
|
|
|
@ -259,5 +259,5 @@ else
|
||||||
|
|
||||||
uci -q commit network
|
uci -q commit network
|
||||||
|
|
||||||
/etc/init.d/fff-uradvd restart
|
[ -s /etc/init.d/fff-uradvd ] && /etc/init.d/fff-uradvd restart
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue