From 5d65cf44672b3dba2276136d0d2b30db2237343b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 26 Jun 2016 12:41:12 +0100 Subject: [PATCH] Enable batman daemon --- src/freedombone-image-mesh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index ecc76658..c6b4d7e1 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -430,6 +430,11 @@ function disable_screen_lock { dconf write /org/gnome/desktop/screensaver/lock-enabled false } +function enable_batman_daemon { + systemctl enable batman + systemctl daemon-reload +} + if [ -f /root/.initial_mesh_setup ]; then if [ $1 ]; then MY_USERNAME=$1 @@ -444,6 +449,7 @@ if [ -f /root/.initial_mesh_setup ]; then fi echo $'Beginning mesh node setup' >> $INSTALL_LOG + enable_batman_daemon change_avahi_name regenerate_ssh_host_keys configure_zeronet_blog