Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit fe0d26f6d398d01395e44beb326dd76c0661e8d0 Author: Sven Eckelmann sven@narfation.org Date: Thu Aug 1 21:22:21 2019 +0200
alfred-devel: 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
fe0d26f6d398d01395e44beb326dd76c0661e8d0 alfred-devel/files/alfred.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alfred-devel/files/alfred.init b/alfred-devel/files/alfred.init index e5d2006..0c35e65 100755 --- a/alfred-devel/files/alfred.init +++ b/alfred-devel/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"