summary refs log tree commit diff
path: root/img/app/etc/s6-linux-init/scripts/rc.init
blob: 8e9741ce2f55da7376fdef5e60cdd15f0c8a4bae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/execlineb -P
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2020-2023 Alyssa Ross <hi@alyssa.is>

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

if { mkdir -p /dev/pts /dev/shm }
if {
  forx -pE module { erofs overlay }
  modprobe $module
}
if { mount -a }

s6-rc change ok-all