aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/unix/disable-ntp_macos.sh
blob: fd490e433f8b344ceabf8ff01a5081426cf846c9 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
# Copyright (C) 2018 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

set -ex

echo "Disable Network Time Protocol (NTP)"
echo "sudo launchctl unload /System/Library/LaunchDaemons/org.ntp.ntpd.plist" >> /Users/qt/.bash_profile