io tool
This commit is contained in:
parent
d6b94f34c0
commit
4e042432ab
|
@ -590,8 +590,9 @@ EOF
|
||||||
echo 'while true' >> $MESH_SYNC_COMMAND
|
echo 'while true' >> $MESH_SYNC_COMMAND
|
||||||
echo 'do' >> $MESH_SYNC_COMMAND
|
echo 'do' >> $MESH_SYNC_COMMAND
|
||||||
echo ' /usr/bin/timeout 20 /usr/local/bin/toxavahi' >> $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 ' /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
|
echo 'done' >> $MESH_SYNC_COMMAND
|
||||||
chmod +x $MESH_SYNC_COMMAND
|
chmod +x $MESH_SYNC_COMMAND
|
||||||
|
|
||||||
|
|
|
@ -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 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 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 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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue