carbon-s6-rc

Source directory for s6-rc database on Carbon
git clone https://ccx.te2000.cz/git/carbon-s6-rc
Log | Files | Refs

commit e1becd9e089ad708e8333e56cfb19fa45192178a
parent 2d366eab6602759f35a51b54c3ec47a8099b0312
Author: ccx <root@dorje.wpr.cz>
Date:   Wed,  3 Mar 2021 22:24:17 +0100

Add dmesg, hostname, loopback and modules oneshots

Diffstat:
Admesg/type | 1+
Admesg/up | 3+++
Ahostname/type | 1+
Ahostname/up | 1+
Aloopback/type | 1+
Aloopback/up | 3+++
Amodules/dependencies | 1+
Amodules/type | 1+
Amodules/up | 11+++++++++++
Mnet-all/contents | 1+
Mok-all-but-tty/contents | 3+++
Mopenrc/dependencies | 1+
Munbound/dependencies | 2+-
13 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/dmesg/type b/dmesg/type @@ -0,0 +1 @@ +oneshot diff --git a/dmesg/up b/dmesg/up @@ -0,0 +1,3 @@ +# description="Set the dmesg level for a cleaner boot" +# dmesg_level=1 +dmesg -n1 diff --git a/hostname/type b/hostname/type @@ -0,0 +1 @@ +oneshot diff --git a/hostname/up b/hostname/up @@ -0,0 +1 @@ +hostname -F /etc/hostname diff --git a/loopback/type b/loopback/type @@ -0,0 +1 @@ +oneshot diff --git a/loopback/up b/loopback/up @@ -0,0 +1,3 @@ +if { ip link set lo up } +if -nt { ip addr add 127.0.0.1/8 dev lo brd + } +pipeline { ip addr show dev lo } grep -q "inet 127\\.0\\.0\\.1" diff --git a/modules/dependencies b/modules/dependencies @@ -0,0 +1 @@ +dmesg diff --git a/modules/type b/modules/type @@ -0,0 +1 @@ +oneshot diff --git a/modules/up b/modules/up @@ -0,0 +1,11 @@ +foreground { modprobe af_packet } +foreground { modprobe thinkpad_acpi } +foreground { modprobe iwldvm } +foreground { modprobe evdev } +foreground { modprobe psmouse } +foreground { modprobe elan_i2c } +foreground { modprobe snd-hda-intel } +foreground { modprobe fuse } +foreground { modprobe overlay } +foreground { modprobe kvm-intel } +foreground { modprobe tun } diff --git a/net-all/contents b/net-all/contents @@ -1,3 +1,4 @@ wpa_supplicant dhcpcd unbound +loopback diff --git a/ok-all-but-tty/contents b/ok-all-but-tty/contents @@ -7,3 +7,6 @@ net-all setfont loadkeys containers +dmesg +hostname +modules diff --git a/openrc/dependencies b/openrc/dependencies @@ -1 +1,2 @@ ok-sysinit +modules diff --git a/unbound/dependencies b/unbound/dependencies @@ -1 +1 @@ -openrc +loopback