#!/bin/sh
# init=/usr/bin/desk-dotnet : run /run.sh of a second virtio disk (ext2, mounted on /x) with the Mono environment.  Experiments / tests.
export PATH=/usr/bin:/bin
export HOME=/root
export TMPDIR=/tmp
mkdir -p /x /tmp /root
if mount -t ext2 /dev/vdb /x 2>/dev/null; then
    cd /x && sh /x/run.sh
else
    echo "desk-dotnet: no /dev/vdb with run.sh"
fi
exit 0
