*** isdn4net-1.4.1/network-scripts/ifup-ippp.orig Tue Jan 19 01:23:06 1999 --- isdn4net-1.4.1/network-scripts/ifup-ippp Thu Feb 25 23:28:31 1999 *************** *** 156,166 **** # encapsulation isdnctrl encap $SLAVE $I4L_ENCAP - # Bind ppp device? - if [ -n "$I4L_PPPBIND" ] ; then - echo -n "Binding PPP device: " - isdnctrl pppbind $SLAVE 2 - fi fi --- 156,161 ---- *************** *** 200,210 **** I4L_PPPOPTIONS="$I4L_PPPOPTIONS name $I4L_LOCALNAME" fi ! echo -n "Starting PPP-daemon" ipppd /dev/${DEVICE} \ ipparam $DEVICE \ ${I4L_PPPOPTIONS}& echo fi # Bind ppp device? --- 195,213 ---- I4L_PPPOPTIONS="$I4L_PPPOPTIONS name $I4L_LOCALNAME" fi ! echo -n "Starting PPP-daemon for $DEVICE" ! if [ -n "$SLAVE" ]; then ! ipppd \ ! ipparam $DEVICE \ ! ${I4L_PPPOPTIONS} +mp \ ! /dev/${DEVICE} /dev/${SLAVE} & ! echo ! else ipppd /dev/${DEVICE} \ ipparam $DEVICE \ ${I4L_PPPOPTIONS}& echo + fi fi # Bind ppp device? *************** *** 212,223 **** echo -n "Binding PPP device: " if [ "$I4L_PPPBIND" = "yes" ]; then isdnctrl pppbind $DEVICE elif [ "$I4L_PPPBIND" != "no" ]; then isdnctrl pppbind $DEVICE $I4L_PPPBIND fi fi ! echo -n "Final SysV network setup " /etc/sysconfig/network-scripts/ifup-post $CONFIG --- 215,234 ---- echo -n "Binding PPP device: " if [ "$I4L_PPPBIND" = "yes" ]; then isdnctrl pppbind $DEVICE + if [ -n "$SLAVE" ] ; then + echo -n "Binding PPP device: " + isdnctrl pppbind $SLAVE + fi elif [ "$I4L_PPPBIND" != "no" ]; then isdnctrl pppbind $DEVICE $I4L_PPPBIND + if [ -n "SLAVE" ] ; then + echo -n "Binding PPP device: " + isdnctrl pppbind $SLAVE + fi fi fi ! echo -n "Final SysV network setup for $DEVICE" /etc/sysconfig/network-scripts/ifup-post $CONFIG