KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /etc/rc.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/rc.d/quota
#!/bin/sh
#
#

# 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"
desc="Enable/check the quotas"
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"

Anon7 - 2021