Created
December 17, 2014 08:07
-
-
Save miracle0k/4a890fb9a8067e6de1c1 to your computer and use it in GitHub Desktop.
시놀리지 타임 싱크 스크립트
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "stop ntp deamon" | |
/usr/syno/etc/rc.d/S23ntpd.sh stop | |
echo "sync time" | |
/usr/sbin/ntpdate pool.ntp.org | |
echo "start ntp deamon" | |
/usr/syno/etc/rc.d/S23ntpd.sh start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment