core-system-init-freebsd

core-system init submodule, FreeBSD version
git clone https://ccx.te2000.cz/git/core-system-init-freebsd
Log | Files | Refs

commit 5755bf94a2793c3a1e8f2c4fd02d997f8a6670e2
parent 87d1eb189bd5f078cfe63f5c11bbe08c1c5e1ab1
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Tue,  8 Nov 2022 13:21:08 +0100

Remove old init, use s6-svscanboot from /etc/ttys for now

Diffstat:
Minstall | 31-------------------------------
1 file changed, 0 insertions(+), 31 deletions(-)

diff --git a/install b/install @@ -20,37 +20,6 @@ qc=$q_package/command mkdir -p "$dst/init/scripts" || exit $? -# init {{{1 -"$cmd/s6-cat" >"$dst/init/init" <<EOF || exit $? -#!$sm_dst_package/command/execlineb -P - -$qc/export PATH "/command:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -$qc/cd / -$qc/s6-setsid -qb -- -$qc/umask 022 -$qc/if { $qc/s6-echo -n -- "\n* user container init: " } -$qc/foreground { uname -n } -$qc/redirfd -r 0 /dev/null -# TODO: think whether we want jail envdir -#$qc/s6-envdir -I -- $q_all/init/env -$qc/if { - $q_all/init/scripts/populate-run -} -$qc/background -{ - $qc/s6-setsid -- - $qc/fdmove -c 2 1 - $q_all/init/scripts/rc.init -} -$qc/unexport ! -$qc/cd /run/service -$qc/fdmove -c 2 1 -$qc/fdclose 3 # notification-fd -$qc/emptyenv -c -$qc/s6-svscan -t 0 -EOF -"$cmd/s6-chmod" 755 "$dst/init/init" - # s6-svscanboot {{{1 "$cmd/s6-cat" >"$dst/init/s6-svscanboot" <<EOF || exit $? #!$sm_dst_package/command/execlineb -P