diff options
Diffstat (limited to 'layout/rootfs/etc/init')
-rwxr-xr-x[l---------] | layout/rootfs/etc/init | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/layout/rootfs/etc/init b/layout/rootfs/etc/init index 8f4a706..619561d 120000..100755 --- a/layout/rootfs/etc/init +++ b/layout/rootfs/etc/init @@ -1 +1,21 @@ -s6-linux-init/init
\ No newline at end of file +#!/command/execlineb -P + +/command/export PATH /command:/bin +/command/cd / +s6-setsid -qb -- +umask 022 + +s6-envdir -I -- /etc/s6-linux-init/current/env +redirfd -r 0 /dev/null +redirfd -wnb 1 /run/service/s6-svscan-log/fifo +background +{ + s6-setsid -- + redirfd -w 1 /run/service/s6-svscan-log/fifo + fdmove -c 2 1 + /etc/s6-linux-init/current/rc.init +} +unexport ! +cd /run/service +fdmove -c 2 1 +s6-svscan -st0 |