blob: bc494ae356ce792d8eaf10af1c09d3e1025d5cc0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
ntpfile=`mktemp`
cat << EOF > $ntpfile
server ntp.ubuntu.com iburst
server 127.127.1.0
fudge 127.127.1.0 stratum 10
EOF
mv /etc/ntp.conf /etc/ntp.conf.orig
mv $ntpfile /etc/ntp.conf
|