1 #!/bin/sh 2 # 3 # $NetBSD: mountall,v 1.5 2008/11/12 12:35:52 ad Exp $ 4 # 5 6 # PROVIDE: mountall 7 8 $_rc_subr_loaded . /etc/rc.subr 9 10 name="mountall" 11 start_cmd="echo 'Mounting all filesystems...'; mount -a" 12 stop_cmd="echo 'Unmounting all filesystems...'; umount -a" 13 14 load_rc_config $name 15 run_rc_command "$1" 16