diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2014-10-27 23:27:23 +0100 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-10-27 18:13:22 -0500 |
commit | 0bfde472d0154f14ea88c0f5ddd21a510443d713 (patch) | |
tree | f8f2211ff3047a1dcb74c4323c523fac5ecb28fd /init.d | |
parent | ba0a11fc94d303e208dd364b06c1c2a75bcdd62b (diff) |
Add osclock service
This scripts sole purpose is to "provide clock" on OSs that already
take care of the clock being properly set.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/Makefile | 2 | ||||
-rw-r--r-- | init.d/osclock.in | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/init.d/Makefile b/init.d/Makefile index c2c3ea1f..85925b15 100644 --- a/init.d/Makefile +++ b/init.d/Makefile @@ -2,7 +2,7 @@ include ../mk/net.mk DIR= ${INITDIR} SRCS= bootmisc.in fsck.in hostname.in local.in localmount.in loopback.in \ - netmount.in root.in savecache.in swap.in swapfiles.in \ + netmount.in osclock.in root.in savecache.in swap.in swapfiles.in \ tmpfiles.setup.in swclock.in sysctl.in urandom.in ${SRCS-${OS}} BIN= ${OBJS} diff --git a/init.d/osclock.in b/init.d/osclock.in new file mode 100644 index 00000000..ce892d20 --- /dev/null +++ b/init.d/osclock.in @@ -0,0 +1,12 @@ +#!@SBINDIR@/openrc-run +# Copyright (c) 2014 Ralph Sennhauser <sera@igentoo.org> +# Released under the 2-clause BSD license. + +# Can be used on OSs that take care of the clock. + +description="Provides clock" + +depend() +{ + provide clock +} |