From cf802f86073e0055c8b2d01faa271d6f7dfe4f1f Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Thu, 1 Aug 2019 21:22:21 +0200 Subject: [PATCH] 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 --- alfred/Makefile | 2 +- alfred/files/alfred.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alfred/Makefile b/alfred/Makefile index 9bc1f73..c135508 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -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 diff --git a/alfred/files/alfred.init b/alfred/files/alfred.init index e5d2006..0c35e65 100755 --- a/alfred/files/alfred.init +++ b/alfred/files/alfred.init @@ -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" -- 2.30.2