mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-30 05:08:32 +00:00
move 9pinit to packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
11
alpine/packages/9pinit/etc/init.d/9pinit
Executable file
11
alpine/packages/9pinit/etc/init.d/9pinit
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
start()
|
||||
{
|
||||
ebegin "Mounting 9p sockets"
|
||||
mkdir -p /Socket
|
||||
mount -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 socket /Socket
|
||||
mkdir -p /Mac
|
||||
mount -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000.u plan9 /Mac
|
||||
eend 0
|
||||
}
|
||||
Reference in New Issue
Block a user