This commit is contained in:
Bob Mottram 2016-08-08 23:10:31 +01:00
parent d6b94f34c0
commit 4e042432ab
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
2 changed files with 3 additions and 2 deletions

View File

@ -590,8 +590,9 @@ EOF
echo 'while true' >> $MESH_SYNC_COMMAND
echo 'do' >> $MESH_SYNC_COMMAND
echo ' /usr/bin/timeout 20 /usr/local/bin/toxavahi' >> $MESH_SYNC_COMMAND
echo ' sleep 10' >> $MESH_SYNC_COMMAND
echo ' /usr/bin/timeout 20 /usr/local/bin/zeronetavahi' >> $MESH_SYNC_COMMAND
echo ' sleep 5' >> $MESH_SYNC_COMMAND
echo ' sleep 10' >> $MESH_SYNC_COMMAND
echo 'done' >> $MESH_SYNC_COMMAND
chmod +x $MESH_SYNC_COMMAND

View File

@ -851,7 +851,7 @@ chroot "$rootdir" apt-get install -y avahi-daemon avahi-utils avahi-discover ava
chroot "$rootdir" apt-get install -y iptables dnsutils net-tools network-manager iputils-ping
chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name nano man ntp
chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant
chroot "$rootdir" apt-get install -y usbutils cryptsetup zsh pinentry-curses
chroot "$rootdir" apt-get install -y usbutils cryptsetup zsh pinentry-curses iotop
sed -i "s|#host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
sed -i "s|host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf