Send to /dev/null to avoid writing things to disk
This commit is contained in:
parent
8e8cb6ed56
commit
81896f2be9
|
@ -586,8 +586,8 @@ EOF
|
|||
chmod +x $MESH_SYNC_COMMAND
|
||||
|
||||
if ! grep -q "mesh-sync" ${rootdir}/etc/crontab; then
|
||||
echo "*/1 * * * * root /usr/bin/mesh-sync" >> ${rootdir}/etc/crontab
|
||||
echo "*/1 * * * * root ( sleep 30 ; /usr/bin/mesh-sync )" >> ${rootdir}/etc/crontab
|
||||
echo "*/1 * * * * root /usr/bin/mesh-sync 2> /dev/null" >> ${rootdir}/etc/crontab
|
||||
echo "*/1 * * * * root ( sleep 30 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/crontab
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -562,8 +562,8 @@ function mesh_zeronet {
|
|||
chmod +x $MESH_SYNC_COMMAND
|
||||
|
||||
if ! grep -q "mesh-sync" ${rootdir}/etc/crontab; then
|
||||
echo "*/1 * * * * root /usr/bin/mesh-sync" >> ${rootdir}/etc/crontab
|
||||
echo "*/1 * * * * root ( sleep 30 ; /usr/bin/mesh-sync )" >> ${rootdir}/etc/crontab
|
||||
echo "*/1 * * * * root /usr/bin/mesh-sync 2> /dev/null" >> ${rootdir}/etc/crontab
|
||||
echo "*/1 * * * * root ( sleep 30 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/crontab
|
||||
fi
|
||||
|
||||
chroot "$rootdir" systemctl enable tracker.service
|
||||
|
|
Loading…
Reference in New Issue