1 #!/bin/sh 2 # 3 # $NetBSD: mountall,v 1.4 2004/08/13 18:08:03 mycroft Exp $ 4 # 5 6 # PROVIDE: mountall 7 # REQUIRE: beforemountlkm 8 9 $_rc_subr_loaded . /etc/rc.subr 10 11 name="mountall" 12 start_cmd="echo 'Mounting all filesystems...'; mount -a" 13 stop_cmd="echo 'Unmounting all filesystems...'; umount -a" 14 15 load_rc_config $name 16 run_rc_command "$1" 17