aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ippp
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2003-10-22 15:45:22 +0000
committerThan Ngo <than@redhat.com>2003-10-22 15:45:22 +0000
commit8635c430cb0091e906d185d833ff7a145fb7494a (patch)
tree41619427a4a84b885e2fe6c997f3e2e47af76c1f /sysconfig/network-scripts/ifup-ippp
parent89b3eb438310307e429e6df9cd729f08d96796dc (diff)
downloadinitscripts-8635c430cb0091e906d185d833ff7a145fb7494a.tar
initscripts-8635c430cb0091e906d185d833ff7a145fb7494a.tar.gz
initscripts-8635c430cb0091e906d185d833ff7a145fb7494a.tar.bz2
initscripts-8635c430cb0091e906d185d833ff7a145fb7494a.tar.xz
initscripts-8635c430cb0091e906d185d833ff7a145fb7494a.zip
add support nickname (#105785)
Diffstat (limited to 'sysconfig/network-scripts/ifup-ippp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index e3bbd25e..3c0fd149 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -357,4 +357,7 @@ function addprovider()
addprovider || exit 1
+# save Nickname of device
+rm -f /etc/ppp/$DEVICE && echo "NICKNAME=\"$CONFIG\"" > /etc/ppp/$DEVICE
+
exit 0