move 9pinit to packages

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
Justin Cormack
2015-12-23 13:18:43 +00:00
parent 364d6f5aa1
commit c43dd60a39
3 changed files with 1 additions and 1 deletions

View 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
}