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 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