diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-12 01:55:16 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-12 01:55:16 -0400 |
commit | ad057ec1d88d71018e1d82c2fb765a4f7a746579 (patch) | |
tree | 58d1e98dc79fae31dcd79d2542401de9a3227452 /config-timedate.PKGBUILD |
initial commit
Diffstat (limited to 'config-timedate.PKGBUILD')
-rw-r--r-- | config-timedate.PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/config-timedate.PKGBUILD b/config-timedate.PKGBUILD new file mode 100644 index 0000000..8c8cf19 --- /dev/null +++ b/config-timedate.PKGBUILD @@ -0,0 +1,18 @@ +pkgver=1 +pkgrel=1 +arch=(any) + +pkgname=config-timedate + +package() { + cd "$pkgdir" + + install -dm755 etc/systemd/system/sysinit.target.wants + + # Consider UTC to be the timezone, since we have admins all + # over the place. + ln -s ../usr/share/zoneinfo/UTC etc/localtime + + # Use timesyncd NTP client daemon. + ln -s /usr/lib/systemd/system/systemd-timesyncd.service etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service +} |