8 # KEYWORD: FreeBSD nojail
21 if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
22 -a "${ppp_mode}" != "dedicated" \
23 -a "${ppp_mode}" != "background" ]; then
27 ppp_command="/usr/sbin/ppp -quiet -${ppp_mode}"
33 ppp_command="${ppp_command} -nat"
37 ppp_command="${ppp_command} ${ppp_profile}"
39 echo "Starting ppp as \"${ppp_user}\""
40 su -m ${ppp_user} -c "exec ${ppp_command}"
42 # Re-Sync ipfilter so it picks up any new network interfaces
44 /etc/rc.d/ipfilter resync