]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/mountlate
This commit was generated by cvs2svn to compensate for changes in r161655,
[FreeBSD/FreeBSD.git] / etc / rc.d / mountlate
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: mountlate
7 # REQUIRE: DAEMON
8 # BEFORE: LOGIN
9 # KEYWORD: nojail
10
11 . /etc/rc.subr
12
13 name="mountlate"
14 start_cmd="mountlate_start"
15 stop_cmd=":"
16
17 mountlate_start()
18 {
19         # Mount "late" filesystems.
20         echo -n 'Mounting late file systems:'
21         mount -a -l
22         echo '.'
23
24         case $? in
25         0)
26                 ;;
27         *)
28                 echo 'Mounting /etc/fstab filesystems failed,' \
29                     ' startup aborted'
30                 kill -QUIT $$
31                 ;;
32         esac
33 }
34
35 load_rc_config $name
36 run_rc_command "$1"