summaryrefslogtreecommitdiff
path: root/share/hooks/all/0100-remove-adjtime-configuration.hook.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'share/hooks/all/0100-remove-adjtime-configuration.hook.chroot')
-rwxr-xr-xshare/hooks/all/0100-remove-adjtime-configuration.hook.chroot11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/hooks/all/0100-remove-adjtime-configuration.hook.chroot b/share/hooks/all/0100-remove-adjtime-configuration.hook.chroot
new file mode 100755
index 000000000..7fe5bbd15
--- /dev/null
+++ b/share/hooks/all/0100-remove-adjtime-configuration.hook.chroot
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+# Reset generated file
+
+cat > /etc/adjtime << EOF
+0.0 0 0.0
+0
+UTC
+EOF