aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ippp
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2003-10-22 16:45:39 +0000
committerThan Ngo <than@redhat.com>2003-10-22 16:45:39 +0000
commit5c89279af3fc40579b837549a75c8dce9345e02d (patch)
tree970c3f9eb43ecb3b8d83150809887e0d1802f219 /sysconfig/network-scripts/ifup-ippp
parent327ae778e8ccf52cbadbe9da2d85b86fcdb59ae6 (diff)
downloadinitscripts-5c89279af3fc40579b837549a75c8dce9345e02d.tar
initscripts-5c89279af3fc40579b837549a75c8dce9345e02d.tar.gz
initscripts-5c89279af3fc40579b837549a75c8dce9345e02d.tar.bz2
initscripts-5c89279af3fc40579b837549a75c8dce9345e02d.tar.xz
initscripts-5c89279af3fc40579b837549a75c8dce9345e02d.zip
add better fix to support nickname (#105785)
Diffstat (limited to 'sysconfig/network-scripts/ifup-ippp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index 3c0fd149..a357a117 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -178,7 +178,7 @@ function addprovider()
[ -n "$CBDELAY" ] && log_isdnctrl cbdelay $DEVICE $CBDELAY
[ -n "$CBHUP" ] && log_isdnctrl cbhup $DEVICE $CBHUP
- options="$options ipparam $DEVICE"
+ options="$options ipparam $DEVNAME"
[ "$ENCAP" = "syncppp" ] && log_isdnctrl pppbind $DEVICE
@@ -357,7 +357,4 @@ function addprovider()
addprovider || exit 1
-# save Nickname of device
-rm -f /etc/ppp/$DEVICE && echo "NICKNAME=\"$CONFIG\"" > /etc/ppp/$DEVICE
-
exit 0