mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Fix missing symlink and high CPU usage of route watchdog on Synology
This commit is contained in:
parent
29566bfe7d
commit
4dbdfb6972
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.7",
|
"version": "1.8.7",
|
||||||
"rev": "0",
|
"rev": "1",
|
||||||
"desc": "Securely connect any device, anywhere.",
|
"desc": "Securely connect any device, anywhere.",
|
||||||
"email": "support@zerotier.com"
|
"email": "support@zerotier.com"
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,8 @@ configure_cli()
|
||||||
mkdir -p /usr/local/bin/
|
mkdir -p /usr/local/bin/
|
||||||
ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-cli
|
ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-cli
|
||||||
ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-idtool
|
ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-idtool
|
||||||
|
rm -rf /var/lib/zerotier-one
|
||||||
|
ln -s /var/packages/zerotier/var /var/lib/zerotier-one
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_routes()
|
apply_routes()
|
||||||
|
@ -69,8 +71,8 @@ apply_routes()
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
sleep 15
|
|
||||||
fi
|
fi
|
||||||
|
sleep 15
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue