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

case $1 in
"start")
	fsck -p || exit 1
	mount -w /
	mount -a -t nodevfs
	;;
"stop")
	umount -A -t nodevfs
	mount -r /
	;;
esac

exit 0
