wok diff ppp/receipt @ rev 9150

Up udpcast 20100130 (Thank kans)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Mar 06 23:24:33 2011 +0100 (2011-03-06)
parents 1d1a4203b937
children 02bbaa9d12ba
line diff
     1.1 --- a/ppp/receipt	Tue Mar 16 15:30:23 2010 +0000
     1.2 +++ b/ppp/receipt	Sun Mar 06 23:24:33 2011 +0100
     1.3 @@ -35,7 +35,7 @@
     1.4  	# PPP scripts.
     1.5  	cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts
     1.6  	cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts
     1.7 -	sed -i 's,ppp/ppp-on-dialer,ppp/script/ppp-on-dialer,' $fs/etc/ppp/scripts/ppp-on-dialer
     1.8 +	
     1.9  	cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts
    1.10  	cp -a $src/scripts/callback $fs/etc/ppp/scripts
    1.11  	cp -a $src/scripts/redialer $fs/etc/ppp/scripts
    1.12 @@ -45,5 +45,8 @@
    1.13  	chmod +x $fs/etc/ppp/ip*
    1.14  	# insert #!/bin/sh  on top line in ip* scripts
    1.15  	sed -i '1i\#!/bin/sh' $fs/etc/ppp/ip*	
    1.16 +	# add empty peers dir
    1.17 +	mkdir -p $fs/etc/ppp/peers
    1.18 +	sed -i 's:ppp/ppp-on-dialer:ppp/script/ppp-on-dialer:' $fs/etc/ppp/scripts/ppp-on
    1.19  	
    1.20  }