mountlate revision 160303
1#!/bin/sh 2# 3# $FreeBSD: head/etc/rc.d/mountlate 160303 2006-07-12 16:05:51Z des $ 4# 5 6# PROVIDE: mountlate 7# REQUIRE: DAEMON 8# BEFORE: LOGIN 9# KEYWORD: nojail 10 11. /etc/rc.subr 12 13name="mountlate" 14start_cmd="mountlate_start" 15stop_cmd=":" 16 17mountlate_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 35load_rc_config $name 36run_rc_command "$1" 37