aboutsummaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2022-12-08 09:56:40 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2022-12-08 09:56:40 -0600
commit839083bb523b82cca28d3f0ecc8d4c3469a0853d (patch)
tree3d41ab1c40404808f5814df3e2eb7ccb2e3a453f /conf.d
parent1364e6631c7f266484981d88be43f9b039f76b6a (diff)
make the location of the swclock reference file configurable
This fixes #565.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/meson.build1
-rw-r--r--conf.d/swclock6
2 files changed, 7 insertions, 0 deletions
diff --git a/conf.d/meson.build b/conf.d/meson.build
index ce704180..cede4e76 100644
--- a/conf.d/meson.build
+++ b/conf.d/meson.build
@@ -7,6 +7,7 @@ conf_common = [
'localmount',
'netmount',
'swap',
+ 'swclock',
]
conf_net = [
diff --git a/conf.d/swclock b/conf.d/swclock
new file mode 100644
index 00000000..f7c22063
--- /dev/null
+++ b/conf.d/swclock
@@ -0,0 +1,6 @@
+# This is the location of the reference file swclock uses to set the
+# system date and time.
+# This is the default path. If you are using it, you do not need to
+# uncomment it. If you are using the default and have /var on its own
+# file system, you need to add the appropriate rc_after setting.
+# swclock_file=/var/lib/misc/openrc-shutdowntime