set PATH for root user, mount /proc and /sys

This commit is contained in:
Daniel Barlow 2022-09-22 00:10:00 +01:00
parent 45025f128a
commit edb701b87d
2 changed files with 10 additions and 12 deletions

View file

@ -15,6 +15,9 @@ shift
### This is done only once at boot time.
### Ideally, this phase should just initialize the service manager.
mount -t proc none /proc
mount -t sysfs none /sys
### If your services are managed by s6-rc:
### (replace /run/service with your scandir)
s6-rc-init /run/service -d -c /etc/s6-rc/compiled