1 1.1 lukem #!/bin/sh 2 1.1 lukem # 3 1.11 martin # $NetBSD: mountcritremote,v 1.11 2020/09/08 12:52:18 martin Exp $ 4 1.1 lukem # 5 1.1 lukem 6 1.1 lukem # PROVIDE: mountcritremote 7 1.11 martin # REQUIRE: NETWORKING root CRITLOCALMOUNTED 8 1.1 lukem 9 1.8 mycroft $_rc_subr_loaded . /etc/rc.subr 10 1.1 lukem 11 1.1 lukem name="mountcritremote" 12 1.6 lukem start_cmd="mountcritremote_start" 13 1.1 lukem stop_cmd=":" 14 1.6 lukem 15 1.6 lukem mountcritremote_start() 16 1.6 lukem { 17 1.9 wiz # Mount critical file systems that may be `remote'. 18 1.6 lukem # (as specified in $critical_filesystems_remote) 19 1.6 lukem # This usually includes /usr. 20 1.6 lukem # 21 1.6 lukem mount_critical_filesystems remote 22 1.6 lukem 23 1.6 lukem } 24 1.1 lukem 25 1.2 lukem load_rc_config $name 26 1.1 lukem run_rc_command "$1" 27