3 # $FreeBSD: src/etc/rc.d/sppp,v 1.2 2003/04/18 17:55:05 mtm Exp $
4 # $DragonFly: src/etc/rc.d/sppp,v 1.2 2004/01/27 00:55:43 rob Exp $
15 start_cmd="sppp_start"
20 # Special options for sppp(4) interfaces go here. These need
21 # to go _before_ the general ifconfig since in the case
22 # of hardwired (no link1 flag) but required authentication, you
23 # cannot pass auth parameters down to the already running interface.
25 for ifn in ${sppp_interfaces}; do
26 eval spppcontrol_args=\$spppconfig_${ifn}
27 if [ -n "${spppcontrol_args}" ]; then
28 # The auth secrets might contain spaces; in order
29 # to retain the quotation, we need to eval them
31 eval spppcontrol ${ifn} ${spppcontrol_args}