summaryrefslogtreecommitdiff
path: root/alfred/files
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2019-08-01 21:22:21 +0200
committerSven Eckelmann <sven@narfation.org>2019-08-01 21:35:39 +0200
commitcf802f86073e0055c8b2d01faa271d6f7dfe4f1f (patch)
treeecb011bf430520ada4ef5c6f583c70c7c1ebc3ba /alfred/files
parent157da8c4ee189764c43b6ce40613e248a15362dc (diff)
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>
Diffstat (limited to 'alfred/files')
-rwxr-xr-xalfred/files/alfred.init2
1 files changed, 1 insertions, 1 deletions
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"