14 start_cmd="ugidfw_start"
15 start_precmd="ugidfw_precmd"
16 stop_cmd="ugidfw_stop"
20 if [ -r "${bsdextended_script}" ]; then
21 . "${bsdextended_script}"
22 echo -n " ${_bsdextended_profile}"
28 if ! sysctl security.mac.bsdextended
29 then kldload mac_bsdextended
31 then warn Unable to load the mac_bsdextended module.
42 # check for existing profiles and set the default policy script
43 # if none was specified
44 [ -z "${bsdextended_profiles}" ] && {
45 bsdextended_profiles=default
46 [ -z "${bsdextended_script}" ] && bsdextended_script=/etc/rc.bsdextended
47 bsdextended_default_script=/etc/rc.bsdextended
50 echo -n "Loading MAC bsdextended rules:"
51 for _bsdextended_profile in ${bsdextended_profiles}; do
52 eval bsdextended_script=\"\$bsdextended_${_bsdextended_profile}_script\"
62 kldunload mac_bsdextended