2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2001-02-28 20:19:42 +03:00
|
|
|
# $NetBSD: mountcritremote,v 1.4 2001/02/28 17:19:42 lukem Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: mountcritremote
|
2000-07-26 04:11:48 +04:00
|
|
|
# REQUIRE: NETWORK root mountcritlocal
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
2001-02-28 20:19:42 +03:00
|
|
|
# Mount critical filesystems that may be remote.
|
2000-07-26 04:11:48 +04:00
|
|
|
# (as specified in $critical_filesystems)
|
2001-02-28 20:19:42 +03:00
|
|
|
# This usually includes /usr.
|
2000-07-26 04:11:48 +04:00
|
|
|
#
|
2000-03-10 14:53:23 +03:00
|
|
|
name="mountcritremote"
|
|
|
|
start_cmd="mount_critical_filesystems remote"
|
|
|
|
stop_cmd=":"
|
|
|
|
|
2000-05-13 12:45:06 +04:00
|
|
|
load_rc_config $name
|
2000-03-10 14:53:23 +03:00
|
|
|
run_rc_command "$1"
|