2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-08-13 22:08:03 +04:00
|
|
|
# $NetBSD: mountcritremote,v 1.8 2004/08/13 18:08:03 mycroft Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: mountcritremote
|
2002-01-31 04:26:05 +03:00
|
|
|
# REQUIRE: NETWORKING root mountcritlocal
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
name="mountcritremote"
|
2002-03-27 11:53:39 +03:00
|
|
|
start_cmd="mountcritremote_start"
|
2000-03-10 14:53:23 +03:00
|
|
|
stop_cmd=":"
|
|
|
|
|
2002-03-27 11:53:39 +03:00
|
|
|
mountcritremote_start()
|
|
|
|
{
|
|
|
|
# Mount critical filesystems that may be `remote'.
|
|
|
|
# (as specified in $critical_filesystems_remote)
|
|
|
|
# This usually includes /usr.
|
|
|
|
#
|
|
|
|
mount_critical_filesystems remote
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2000-05-13 12:45:06 +04:00
|
|
|
load_rc_config $name
|
2000-03-10 14:53:23 +03:00
|
|
|
run_rc_command "$1"
|