summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/mountall
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/mountall')
-rwxr-xr-xetc/rc.d/mountall16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/rc.d/mountall b/etc/rc.d/mountall
new file mode 100755
index 0000000..2fd80eb
--- /dev/null
+++ b/etc/rc.d/mountall
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# $NetBSD: mountall,v 1.2 2000/04/27 21:00:50 veego Exp $
+#
+
+# PROVIDE: mountall
+# REQUIRE: beforemountlkm
+
+. /etc/rc.subr
+
+name="mountall"
+start_cmd="echo 'Mounting all filesystems...'; mount -a"
+stop_cmd="echo 'Unmounting all filesystems...'; umount -a"
+
+load_rc_config $name
+run_rc_command "$1"
OpenPOWER on IntegriCloud