wok-6.x diff ppp/receipt @ rev 8245

Fixed aufs post_remove function.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jan 29 02:47:25 2011 +0000 (2011-01-29)
parents 1d1a4203b937
children 02bbaa9d12ba
line diff
     1.1 --- a/ppp/receipt	Tue Mar 16 15:30:23 2010 +0000
     1.2 +++ b/ppp/receipt	Sat Jan 29 02:47:25 2011 +0000
     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  }