redox/recipes/core/initfs/init.rc
bjorn3 6174532300 Unset RSDP_ADDR and RSDP_SIZE env vars once no longer necessary
This avoids them leaking into the environment of every user.
2025-03-30 17:06:58 +02:00

37 lines
829 B
Plaintext

# Various daemons that relibc needs to function as well as a bunch of env vars
# that should be set for every program.
export PATH /bin
export RUST_BACKTRACE 1
rtcd
nulld
zerod
randd
# Logging and graphics infrastructure
inputd
vesad
unset FRAMEBUFFER_ADDR FRAMEBUFFER_VIRT FRAMEBUFFER_WIDTH FRAMEBUFFER_HEIGHT FRAMEBUFFER_STRIDE
#TODO: unset FRAMEBUFFER1 and beyond?
fbbootlogd
logd /scheme/debug /scheme/fbbootlog
stdio /scheme/log
inputd -A 1
fbcond 2
ramfs logging
# Drivers
run /scheme/initfs/etc/init_drivers.rc
unset RSDP_ADDR RSDP_SIZE
# Mount rootfs
lived
unset DISK_LIVE_ADDR DISK_LIVE_SIZE
redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK
unset REDOXFS_UUID REDOXFS_BLOCK REDOXFS_PASSWORD_ADDR REDOXFS_PASSWORD_SIZE
# Exit initfs
set-default-scheme file
cd /
export PATH /usr/bin
run.d /usr/lib/init.d /etc/init.d