summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/mountcritremote
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/mountcritremote')
-rwxr-xr-xetc/rc.d/mountcritremote19
1 files changed, 13 insertions, 6 deletions
diff --git a/etc/rc.d/mountcritremote b/etc/rc.d/mountcritremote
index 6479ea1..1e7b839 100755
--- a/etc/rc.d/mountcritremote
+++ b/etc/rc.d/mountcritremote
@@ -1,19 +1,26 @@
#!/bin/sh
#
-# $NetBSD: mountcritremote,v 1.2 2000/05/13 08:45:07 lukem Exp $
+# $NetBSD: mountcritremote,v 1.6 2002/03/27 08:53:42 lukem Exp $
#
# PROVIDE: mountcritremote
-# REQUIRE: NETWORK root mountcritlocal
+# REQUIRE: NETWORKING root mountcritlocal
. /etc/rc.subr
-# mount critical remote filesystems
-# (as specified in $critical_filesystems)
-#
name="mountcritremote"
-start_cmd="mount_critical_filesystems remote"
+start_cmd="mountcritremote_start"
stop_cmd=":"
+mountcritremote_start()
+{
+ # Mount critical filesystems that may be `remote'.
+ # (as specified in $critical_filesystems_remote)
+ # This usually includes /usr.
+ #
+ mount_critical_filesystems remote
+
+}
+
load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud