From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3A3711389DA for ; Mon, 27 Oct 2014 23:15:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 580E4E08D6; Mon, 27 Oct 2014 23:15:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3AA2E08D6 for ; Mon, 27 Oct 2014 23:15:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAC0E3401B3 for ; Mon, 27 Oct 2014 23:15:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 945A58E31 for ; Mon, 27 Oct 2014 23:15:08 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1414451602.0bfde472d0154f14ea88c0f5ddd21a510443d713.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/Makefile init.d/osclock.in X-VCS-Directories: init.d/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 0bfde472d0154f14ea88c0f5ddd21a510443d713 X-VCS-Branch: master Date: Mon, 27 Oct 2014 23:15:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 52d0488c-8657-4122-9800-7e27ae39bfad X-Archives-Hash: aa7072713efc7beb0b473598b00768de commit: 0bfde472d0154f14ea88c0f5ddd21a510443d713 Author: Ralph Sennhauser gentoo org> AuthorDate: Mon Oct 27 22:27:23 2014 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Oct 27 23:13:22 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=0bfde472 Add osclock service This scripts sole purpose is to "provide clock" on OSs that already take care of the clock being properly set. --- init.d/Makefile | 2 +- init.d/osclock.in | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/init.d/Makefile b/init.d/Makefile index c2c3ea1..85925b1 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 0000000..ce892d2 --- /dev/null +++ b/init.d/osclock.in @@ -0,0 +1,12 @@ +#!@SBINDIR@/openrc-run +# Copyright (c) 2014 Ralph Sennhauser +# Released under the 2-clause BSD license. + +# Can be used on OSs that take care of the clock. + +description="Provides clock" + +depend() +{ + provide clock +}