ssh isn't usually available on mesh peers
This commit is contained in:
parent
256e01647a
commit
156fd29799
|
@ -107,17 +107,6 @@ function mesh_avahi {
|
||||||
rm $rootdir/etc/avahi/services/udisks.service
|
rm $rootdir/etc/avahi/services/udisks.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add an ssh service
|
|
||||||
echo '<?xml version="1.0" standalone="no"?><!--*-nxml-*-->' > $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo '<!DOCTYPE service-group SYSTEM "avahi-service.dtd">' >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo '<service-group>' >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo ' <name replace-wildcards="yes">%h ssh</name>' >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo ' <service>' >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo ' <type>_ssh._tcp</type>' >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo " <port>$SSH_PORT</port>" >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo ' </service>' >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
echo '</service-group>' >> $rootdir/etc/avahi/services/ssh.service
|
|
||||||
|
|
||||||
# Add a mesh routing protocol service
|
# Add a mesh routing protocol service
|
||||||
echo '<?xml version="1.0" standalone="no"?><!--*-nxml-*-->' > $rootdir/etc/avahi/services/routing.service
|
echo '<?xml version="1.0" standalone="no"?><!--*-nxml-*-->' > $rootdir/etc/avahi/services/routing.service
|
||||||
echo '<!DOCTYPE service-group SYSTEM "avahi-service.dtd">' >> $rootdir/etc/avahi/services/routing.service
|
echo '<!DOCTYPE service-group SYSTEM "avahi-service.dtd">' >> $rootdir/etc/avahi/services/routing.service
|
||||||
|
|
Loading…
Reference in New Issue