SVN: rc-scripts/trunk/ppp: ip-down ip-up

qboosh qboosh at pld-linux.org
Sat Apr 28 20:34:07 CEST 2007


Author: qboosh
Date: Sat Apr 28 20:34:05 2007
New Revision: 8484

Modified:
   rc-scripts/trunk/ppp/ip-down
   rc-scripts/trunk/ppp/ip-up
Log:
- proper CONFIG sources (needed to override DEVICE from pppd and get
  ppp/ip-{up,down} scripts work again

Modified: rc-scripts/trunk/ppp/ip-down
==============================================================================
--- rc-scripts/trunk/ppp/ip-down	(original)
+++ rc-scripts/trunk/ppp/ip-down	Sat Apr 28 20:34:05 2007
@@ -31,7 +31,7 @@
 
 . /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,

Modified: rc-scripts/trunk/ppp/ip-up
==============================================================================
--- rc-scripts/trunk/ppp/ip-up	(original)
+++ rc-scripts/trunk/ppp/ip-up	Sat Apr 28 20:34:05 2007
@@ -31,7 +31,7 @@
 
 . /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,


More information about the pld-cvs-commit mailing list