mountall revision 1.6
1#!/bin/sh 2# 3# $NetBSD: mountall,v 1.6 2008/12/01 14:47:14 tsutsui Exp $ 4# 5 6# REQUIRE: mountcritremote named ypbind 7# PROVIDE: mountall 8 9$_rc_subr_loaded . /etc/rc.subr 10 11name="mountall" 12start_cmd="echo 'Mounting all filesystems...'; mount -a" 13stop_cmd="echo 'Unmounting all filesystems...'; umount -a" 14 15load_rc_config $name 16run_rc_command "$1" 17