summaryrefslogtreecommitdiffstats
path: root/system-build/share/hooks/normal/0100-remove-adjtime-configuration.hook.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'system-build/share/hooks/normal/0100-remove-adjtime-configuration.hook.chroot')
-rwxr-xr-xsystem-build/share/hooks/normal/0100-remove-adjtime-configuration.hook.chroot11
1 files changed, 11 insertions, 0 deletions
diff --git a/system-build/share/hooks/normal/0100-remove-adjtime-configuration.hook.chroot b/system-build/share/hooks/normal/0100-remove-adjtime-configuration.hook.chroot
new file mode 100755
index 0000000..7fe5bbd
--- /dev/null
+++ b/system-build/share/hooks/normal/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