aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/osclock.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.d/osclock.in b/init.d/osclock.in
index cd089af2..7f645d09 100644
--- a/init.d/osclock.in
+++ b/init.d/osclock.in
@@ -17,3 +17,15 @@ depend()
{
provide clock
}
+
+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
+}