summaryrefslogtreecommitdiff
path: root/examples/rc.init
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-03-02 09:41:24 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-03-02 09:41:24 +0000
commit23fba266a9454ee6ca095b7f6eccf523f6526607 (patch)
tree7350fdaba49b1529a13d50f6396aea35f340954d /examples/rc.init
parent54d0dc0990f13a86680fa55c623f0570853749ac (diff)
downloads6-linux-init-23fba266a9454ee6ca095b7f6eccf523f6526607.tar.xz
Save pending changes in 1.0.0.0 branch
Diffstat (limited to 'examples/rc.init')
-rwxr-xr-xexamples/rc.init19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/rc.init b/examples/rc.init
deleted file mode 100755
index afc7735..0000000
--- a/examples/rc.init
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/execlineb -P
-
-# Set the system clock to something sensible,
-# to get coherent logs until the initial NTP exchange
-
-if { s6-clock @400000005a58000000000000 }
-
-
-# Initialize the service manager
-
-if { s6-rc-init /run/service }
-
-
-# Run the service manager.
-# Call it twice because the first time may spuriously "timeout"
-# due to the clock jumping forward.
-
-if -nt { s6-rc -t 600000 -- change ok-all }
-s6-rc -t 600000 -- change ok-all