Avoid writing things to disk
This commit is contained in:
parent
a279494766
commit
b09014c35a
|
@ -589,9 +589,9 @@ EOF
|
|||
echo '#!/bin/bash' > $MESH_SYNC_COMMAND
|
||||
echo 'while true' >> $MESH_SYNC_COMMAND
|
||||
echo 'do' >> $MESH_SYNC_COMMAND
|
||||
echo ' /usr/bin/timeout 20 /usr/local/bin/toxavahi' >> $MESH_SYNC_COMMAND
|
||||
echo ' /usr/local/bin/toxavahi 2> /dev/null' >> $MESH_SYNC_COMMAND
|
||||
echo ' sleep 10' >> $MESH_SYNC_COMMAND
|
||||
echo ' /usr/bin/timeout 20 /usr/local/bin/zeronetavahi' >> $MESH_SYNC_COMMAND
|
||||
echo ' /usr/local/bin/zeronetavahi 2> /dev/null' >> $MESH_SYNC_COMMAND
|
||||
echo ' sleep 10' >> $MESH_SYNC_COMMAND
|
||||
echo 'done' >> $MESH_SYNC_COMMAND
|
||||
chmod +x $MESH_SYNC_COMMAND
|
||||
|
|
|
@ -565,9 +565,10 @@ function mesh_zeronet {
|
|||
echo '#!/bin/bash' > $MESH_SYNC_COMMAND
|
||||
echo 'while true' >> $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/zeronetavahi' >> $MESH_SYNC_COMMAND
|
||||
echo ' sleep 5' >> $MESH_SYNC_COMMAND
|
||||
echo ' /usr/local/bin/toxavahi 2> /dev/null' >> $MESH_SYNC_COMMAND
|
||||
echo ' sleep 10' >> $MESH_SYNC_COMMAND
|
||||
echo ' /usr/local/bin/zeronetavahi 2> /dev/null' >> $MESH_SYNC_COMMAND
|
||||
echo ' sleep 10' >> $MESH_SYNC_COMMAND
|
||||
echo 'done' >> $MESH_SYNC_COMMAND
|
||||
chmod +x $MESH_SYNC_COMMAND
|
||||
|
||||
|
|
Loading…
Reference in New Issue