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

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

No files matched your search

+3
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