aux/listen: Allow per service namespace files

This commit is contained in:
Jacob Moody 2022-05-28 02:34:43 +00:00 committed by xfnw
parent 9fe925eaa5
commit 674fcda107
3 changed files with 45 additions and 7 deletions

View file

@ -0,0 +1,24 @@
mount -aC #s/boot /root $rootspec
# kernel devices
bind #c /dev
bind #d /fd
bind -c #e /env
bind #p /proc
bind -a #l /net
bind -a #I /net
bind /root/$cputype/bin /bin
bind /root/rc /rc
bind -a /rc/bin /bin
chdev Mcde|pslI/
# grab just our webroot
bind /root/usr/web /srv
# or bind in the actual root
# bind -a /root /
unmount /root
chdev -r Ms