#!/bin/bash

if [ -e "/etc/rc.d/netfs" ]; then
	case "$2" in
		up)
			/etc/rc.d/netfs start
		;;
		vpn-up)
			/etc/rc.d/netfs start
		;;
		down)
			/etc/rc.d/netfs stop
		;;
		vpn-down)
			/etc/rc.d/netfs stop
		;;
	esac
fi
