#!/bin/sh
# Copyright 2011 Paul Parsons
# Distributed under the terms of the GNU General Public License v3 or later

depend="virtfs dev"
service --depend ${depend} || exit 1

case $1 in
"start")
	mount -n -a -t noproc,sysfs,tmpfs,devpts
	;;
"stop")
	umount -n -a -t noproc,sysfs,tmpfs,devpts
	;;
esac

exit 0
