diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
| commit | 7bb2006007c1996f33758e41db070252d4d3607f (patch) | |
| tree | 3dc03d4f6a8867742961a3dea9ecc96c52d00a10 /layout/rootfs/etc/rc.init | |
| parent | 1202c964c4e91083a3c60b41b9c11e220bfa759d (diff) | |
| download | lh-bootstrap-7bb2006007c1996f33758e41db070252d4d3607f.tar.gz | |
Make a lean and mean version, as a basis for filling an initramfs
Diffstat (limited to 'layout/rootfs/etc/rc.init')
| -rwxr-xr-x | layout/rootfs/etc/rc.init | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/layout/rootfs/etc/rc.init b/layout/rootfs/etc/rc.init deleted file mode 100755 index 579ef45..0000000 --- a/layout/rootfs/etc/rc.init +++ /dev/null @@ -1,19 +0,0 @@ -#!/command/execlineb -P - -# Set the system clock to something sensible, -# to get coherent logs until the initial NTP message - -if { s6-clock %%BUILDTIME%% } - - -# 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 %%RCTIMEOUT%% -- change ok-all } -s6-rc -t %%RCTIMEOUT%% -- change ok-all |
