config root man

Current Path : /compat/linux/proc/self/root/etc/rc.d/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/etc/rc.d/quota

#!/bin/sh
#
# $FreeBSD: release/9.1.0/etc/rc.d/quota 231653 2012-02-14 10:16:56Z dougb $
#

# Enable/Check the quotas (must be after ypbind if using NIS)

# PROVIDE: quota
# REQUIRE: mountcritremote ypset
# BEFORE: DAEMON
# KEYWORD: nojail

. /etc/rc.subr

name="quota"
rcvar="quota_enable"
load_rc_config $name
start_cmd="quota_start"
stop_cmd="/usr/sbin/quotaoff ${quotaoff_flags}"

quota_start()
{
	if checkyesno check_quotas; then
		echo -n 'Checking quotas:'
		quotacheck ${quotacheck_flags}
		echo ' done.'
	fi

	echo -n 'Enabling quotas:'
	quotaon ${quotaon_flags}
	echo ' done.'
}

run_rc_command "$1"

Man Man