Add osclock service
This scripts sole purpose is to "provide clock" on OSs that already take care of the clock being properly set.
This commit is contained in:
parent
ba0a11fc94
commit
0bfde472d0
@ -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}
|
||||
|
||||
|
12
init.d/osclock.in
Normal file
12
init.d/osclock.in
Normal file
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user