patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob f638e373589884acb959c868462fdf532380a851 435 bytes (raw)
name: host/rootfs/image/etc/s6-linux-init/scripts/rc.init 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#!/bin/execlineb -WP
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2020-2022, 2024 Alyssa Ross <hi@alyssa.is>

if { s6-rc-init -c /etc/s6-rc /run/service }

if { ln -s /proc/self/fd /dev }
if { ln -s /proc/self/fd/0 /dev/stdin }
if { ln -s /proc/self/fd/1 /dev/stdout }
if { ln -s /proc/self/fd/2 /dev/stderr }

if { mount --make-shared / }
if { mount --make-shared /run }
if { mount -a --mkdir }

s6-rc change ok-all

debug log:

solving f638e373589884acb959c868462fdf532380a851 ...
found f638e373589884acb959c868462fdf532380a851 in https://spectrum-os.org/git/spectrum

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).