]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- proper CONFIG sources (needed to override DEVICE from pppd and get
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Apr 2007 18:34:05 +0000 (18:34 +0000)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Apr 2007 18:34:05 +0000 (18:34 +0000)
  ppp/ip-{up,down} scripts work again

svn-id: @8484

ppp/ip-down
ppp/ip-up

index 8dbcc8e1e6b3c0f6d598f6e09bdb105a00e469e4..fa1eb22c6f199d3a0576cf4b0b43da8bdc0af950 100755 (executable)
@@ -31,7 +31,7 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
 
 . /etc/rc.d/init.d/functions
 . /etc/sysconfig/network-scripts/functions.network
-CONFIG="$PPP_IPPARAM"
+CONFIG="/etc/sysconfig/interfaces/ifcfg-$PPP_IPPARAM"
 source_config
 
 # as an additional convienince, $PPP_TTYNAME is set to the tty name,
index 4eadebbf93133df1685c08698345088955684827..69226bc0560a5176be164d70a636c1b44b58eb8a 100755 (executable)
--- a/ppp/ip-up
+++ b/ppp/ip-up
@@ -31,7 +31,7 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
 
 . /etc/rc.d/init.d/functions
 . /etc/sysconfig/network-scripts/functions.network
-CONFIG="$PPP_IPPARAM"
+CONFIG="/etc/sysconfig/interfaces/ifcfg-$PPP_IPPARAM"
 source_config
 
 # as an additional convenience, $PPP_TTYNAME is set to the tty name,
This page took 0.042976 seconds and 4 git commands to generate.