2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2002-04-29 16:29:53 +04:00
|
|
|
# $NetBSD: mountcritremote,v 1.7 2002/04/29 12:29:53 lukem 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
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
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"
|