2014-10-27 23:27:23 +01:00
|
|
|
#!@SBINDIR@/openrc-run
|
2015-12-04 16:52:19 -06:00
|
|
|
# Copyright (c) 2014-2015 The OpenRC Authors.
|
|
|
|
# See the Authors file at the top-level directory of this distribution and
|
2021-12-20 20:07:00 -05:00
|
|
|
# https://github.com/OpenRC/openrc/blob/HEAD/AUTHORS
|
2015-12-04 16:52:19 -06:00
|
|
|
#
|
|
|
|
# This file is part of OpenRC. It is subject to the license terms in
|
|
|
|
# the LICENSE file found in the top-level directory of this
|
2021-12-20 20:07:00 -05:00
|
|
|
# distribution and at https://github.com/OpenRC/openrc/blob/HEAD/LICENSE
|
2015-12-04 16:52:19 -06:00
|
|
|
# This file may not be copied, modified, propagated, or distributed
|
|
|
|
# except according to the terms contained in the LICENSE file.
|
2014-10-27 23:27:23 +01:00
|
|
|
|
|
|
|
# Can be used on OSs that take care of the clock.
|
|
|
|
|
|
|
|
description="Provides clock"
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
provide clock
|
|
|
|
}
|
2020-08-27 01:39:40 +01:00
|
|
|
|
|
|
|
start()
|
|
|
|
{
|
|
|
|
# This stub function is required to avoid OpenRC warning at boot:
|
|
|
|
#
|
|
|
|
# * The command variable is undefined.
|
|
|
|
# * There is nothing for osclock to start.
|
|
|
|
# * If this is what you intend, please write a start function.
|
|
|
|
# * This will become a failure in a future release.
|
|
|
|
#
|
|
|
|
return 0
|
|
|
|
}
|