*** i4l.SuSE52	Wed Nov 25 16:13:34 1998
--- i4l	Wed Nov 25 16:19:28 1998
***************
*** 156,176 ****
              # MPPP
              if test -n "$I4L_SLAVE"; then
!                 $SBIN/isdnctrl addslave $NETDEV $I4L_SLAVE
!                 # add numbers(s) to call out:
!                 test -z "${I4L_REMOTE_OUT}" ||
!                         for number in ${I4L_REMOTE_OUT}; do
!                                 $SBIN/isdnctrl addphone $I4L_SLAVE out $number
!                         done
!                 test -z "${I4L_REMOTE_IN}" ||
!                         for number in ${I4L_REMOTE_IN}; do
!                                 $SBIN/isdnctrl addphone $I4L_SLAVE in $number
!                         done
!                 $SBIN/isdnctrl eaz $I4L_SLAVE ${I4L_LOCALMSN}
!                 $SBIN/isdnctrl l2_prot $I4L_SLAVE $I4L_L2
!                 $SBIN/isdnctrl l3_prot $I4L_SLAVE $I4L_L3
!                 $SBIN/isdnctrl encap $I4L_SLAVE $I4L_ENCAP
!                 $SBIN/isdnctrl secure $I4L_SLAVE $I4L_SECURE
!                 $SBIN/isdnctrl huptimeout $I4L_SLAVE ${I4L_IDLETIME}
!                 $SBIN/isdnctrl chargehup $I4L_SLAVE $I4L_CHARGEHUP
              fi
              ;;
--- 156,178 ----
              # MPPP
              if test -n "$I4L_SLAVE"; then
! 		for SLAVE in $I4L_SLAVE; do
! 	                $SBIN/isdnctrl addslave $NETDEV $SLAVE
!         	        # add numbers(s) to call out:
!                 	test -z "${I4L_REMOTE_OUT}" ||
!                         	for number in ${I4L_REMOTE_OUT}; do
!                                 	$SBIN/isdnctrl addphone $SLAVE out $number
! 	                        done
!         	        test -z "${I4L_REMOTE_IN}" ||
!                 	        for number in ${I4L_REMOTE_IN}; do
!                         	        $SBIN/isdnctrl addphone $SLAVE in $number
! 	                        done	
!         	        $SBIN/isdnctrl eaz $SLAVE ${I4L_LOCALMSN}
!                 	$SBIN/isdnctrl l2_prot $SLAVE $I4L_L2
! 	                $SBIN/isdnctrl l3_prot $SLAVE $I4L_L3
!         	        $SBIN/isdnctrl encap $SLAVE $I4L_ENCAP
!                 	$SBIN/isdnctrl secure $SLAVE $I4L_SECURE
! 	                $SBIN/isdnctrl huptimeout $SLAVE ${I4L_IDLETIME}
!         	        $SBIN/isdnctrl chargehup $SLAVE $I4L_CHARGEHUP
! 		done
              fi
              ;;
***************
*** 223,229 ****
                  echo ""
  		if test -n "$I4L_SLAVE"; then
! 		    binddev=`echo $I4L_SLAVE | sed -n "s/ippp\([0-9]*\)$/\1/p"`
! 		    $SBIN/isdnctrl pppbind $I4L_SLAVE $binddev
! 		    echo ""
  		fi
              fi
--- 225,233 ----
                  echo ""
  		if test -n "$I4L_SLAVE"; then
! 		    for SLAVE in $I4L_SLAVE; do
! 		    	binddev=`echo $SLAVE | sed -n "s/ippp\([0-9]*\)$/\1/p"`
! 		    	$SBIN/isdnctrl pppbind $SLAVE $binddev
! 		    	echo ""
! 		    done
  		fi
              fi
