alfred: Allow startup without batman-adv sysfs support
The batman-adv kernel module can be build without sysfs support. This will stop the kernel module from creating the "mesh" directory. The alfred init script must not depend on this folder to start the daemon up. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
157da8c4ee
commit
cf802f8607
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=alfred
|
||||
PKG_VERSION:=2019.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_HASH:=a4c37920de497701680abb55c49cdcd11e4e7135e0e7e79259c35492a3df4766
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
|
|
@ -86,7 +86,7 @@ alfred_start() {
|
|||
append args "-b $batmanif"
|
||||
|
||||
if [ "$batmanif" != "none" ]; then
|
||||
wait_for_dir "$batmanif" "/sys/class/net/$batmanif/mesh"
|
||||
wait_for_dir "$batmanif" "/sys/devices/virtual/net/$batmanif"
|
||||
fi
|
||||
|
||||
append alfred_args "$args"
|
||||
|
|
Loading…
Reference in New Issue