]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/mountall
Add an rc script for powerd(8).
[FreeBSD/FreeBSD.git] / etc / rc.d / mountall
1 #!/bin/sh
2 #
3 # $NetBSD: mountall,v 1.3 2000/05/13 08:45:07 lukem Exp $
4 # $FreeBSD$
5 #
6
7 # PROVIDE: mountall
8 # REQUIRE: beforemountlkm
9
10 . /etc/rc.subr
11
12 name="mountall"
13 start_cmd="echo 'Mounting all filesystems...'; mount -a"
14 stop_cmd="echo 'Unmounting all filesystems...'; umount -a"
15
16 load_rc_config $name
17 run_rc_command "$1"