Sfoglia il codice sorgente

Enable batman daemon

Bob Mottram 9 anni fa
parent
commit
5d65cf4467
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6
    0
      src/freedombone-image-mesh

+ 6
- 0
src/freedombone-image-mesh Vedi File

430
 	dconf write /org/gnome/desktop/screensaver/lock-enabled false
430
 	dconf write /org/gnome/desktop/screensaver/lock-enabled false
431
 }
431
 }
432
 
432
 
433
+function enable_batman_daemon {
434
+	systemctl enable batman
435
+	systemctl daemon-reload
436
+}
437
+
433
 if [ -f /root/.initial_mesh_setup ]; then
438
 if [ -f /root/.initial_mesh_setup ]; then
434
 	if [ $1 ]; then
439
 	if [ $1 ]; then
435
 		MY_USERNAME=$1
440
 		MY_USERNAME=$1
444
 	fi
449
 	fi
445
 
450
 
446
 	echo $'Beginning mesh node setup' >> $INSTALL_LOG
451
 	echo $'Beginning mesh node setup' >> $INSTALL_LOG
452
+	enable_batman_daemon
447
 	change_avahi_name
453
 	change_avahi_name
448
 	regenerate_ssh_host_keys
454
 	regenerate_ssh_host_keys
449
 	configure_zeronet_blog
455
 	configure_zeronet_blog