From 4e042432ab359c07b8d2e379273c86ddfb573a37 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 8 Aug 2016 23:10:31 +0100 Subject: [PATCH] io tool --- src/freedombone-app-tox | 3 ++- src/freedombone-image-customise | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index 08158044..8da26176 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -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 diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 124e2111..fe9b65ad 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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