diff --git a/src/freedombone-utils-avahi b/src/freedombone-utils-avahi index 753a7f4f..625ec527 100755 --- a/src/freedombone-utils-avahi +++ b/src/freedombone-utils-avahi @@ -88,16 +88,15 @@ function mesh_avahi { rm $rootdir/etc/avahi/services/udisks.service fi - # Add an ssh service - echo '' > $rootdir/etc/avahi/services/ssh.service - echo '' >> $rootdir/etc/avahi/services/ssh.service - echo '' >> $rootdir/etc/avahi/services/ssh.service - echo ' %h SSH' >> $rootdir/etc/avahi/services/ssh.service - echo ' ' >> $rootdir/etc/avahi/services/ssh.service - echo ' _ssh._tcp' >> $rootdir/etc/avahi/services/ssh.service - echo " $SSH_PORT" >> $rootdir/etc/avahi/services/ssh.service - echo ' ' >> $rootdir/etc/avahi/services/ssh.service - echo '' >> $rootdir/etc/avahi/services/ssh.service + # Add a mesh routing protocol service + echo '' > $rootdir/etc/avahi/services/routing.service + echo '' >> $rootdir/etc/avahi/services/routing.service + echo '' >> $rootdir/etc/avahi/services/routing.service + echo ' %h routing' >> $rootdir/etc/avahi/services/routing.service + echo ' ' >> $rootdir/etc/avahi/services/routing.service + echo ' _bmx6._tcp' >> $rootdir/etc/avahi/services/routing.service + echo ' ' >> $rootdir/etc/avahi/services/routing.service + echo '' >> $rootdir/etc/avahi/services/routing.service # keep the daemon running WATCHDOG_SCRIPT_NAME="keepon"