Accepting request 440643 from home:13ilya:branches:network

I fix bugs in patches and sources and now rp-pppoe. support modern net-tools.
After update need again manualy with pppoe-setup add your modem and all will be fine. :-)

OBS-URL: https://build.opensuse.org/request/show/440643
OBS-URL: https://build.opensuse.org/package/show/network/rp-pppoe?expand=0&rev=12
This commit is contained in:
2016-11-22 10:42:06 +00:00
committed by Git OBS Bridge
parent 5a71187441
commit 5c3ddabab8
10 changed files with 48 additions and 68 deletions

View File

@@ -1,4 +1,4 @@
#! /bin/bash
#!/bin/bash
# Generated automatically from pppoe-start.in by configure.
#***********************************************************************
#
@@ -26,10 +26,11 @@ exec_prefix=/usr
# Paths to programs
CONNECT=/usr/sbin/pppoe-connect
STATUS=/usr/sbin/pppoe-status
ECHO=/usr/bin/echo
IP=/usr/sbin/ip
LS=/usr/bin/ls
NETWORKDIR=/etc/sysconfig/network-scripts
NETWORKDIR=/etc/sysconfig/network
get_device() {
if [ ! -d $NETWORKDIR ] ; then
@@ -188,7 +189,7 @@ fi
# Monitor connection
TIME=0
while [ true ] ; do
/sbin/pppoe-status $CONFIG > /dev/null 2>&1
$STATUS $CONFIG > /dev/null 2>&1
# Looks like the interface came up
if [ $? = 0 ] ; then
@@ -225,4 +226,3 @@ if [ -s /etc/default-routes ] ; then
fi
exit 1