summaryrefslogtreecommitdiff
path: root/share/hooks/0100-remove-adjtime-configuration.chroot
blob: 5625effb820d1ffe72a79a4ca99943c649ceb3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

# Reset generated file

if [ -e /run ]
then
	# wheezy

cat > /etc/adjtime << EOF
0.0 0 0.0
0
UTC
EOF

else
	# squeeze
	echo "0.0 0 0.0" > /etc/adjtime
fi