wok-4.x rev 2553

rp-pppoe: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 12:23:09 2009 +0000 (2009-03-26)
parents e9b5cd52f160
children d4f808c68499
files rp-pppoe/receipt
line diff
     1.1 --- a/rp-pppoe/receipt	Thu Mar 26 11:20:53 2009 +0000
     1.2 +++ b/rp-pppoe/receipt	Thu Mar 26 12:23:09 2009 +0000
     1.3 @@ -28,6 +28,12 @@
     1.4  	cp -a $src/src/pppoe-sniff $fs/usr/sbin
     1.5  	strip -s $fs/usr/sbin/*
     1.6  	
     1.7 +	#
     1.8 +	# BUG
     1.9 +	#cp $src/scripts/pppoe-setup $fs/usr/sbin
    1.10 +	cp stuff/pppoe-setup $fs/usr/sbin
    1.11 +	chmod -R 755 $fs/usr/sbin/*
    1.12 +	
    1.13  	# Scripts to /usr/sbin.
    1.14  	#
    1.15  	cp $src/scripts/pppoe-connect $fs/usr/sbin
    1.16 @@ -36,12 +42,6 @@
    1.17  	cp $src/scripts/pppoe-stop $fs/usr/sbin
    1.18  	sed -i 's|/usr/bin/id|id|' $fs/usr/sbin/pppoe-connect \
    1.19  		$fs/usr/sbin/pppoe-setup $fs/usr/sbin/pppoe-start
    1.20 -	#
    1.21 -	# BUG
    1.22 -	#cp $src/scripts/pppoe-setup $fs/usr/sbin
    1.23 -	cp stuff/pppoe-setup $fs/usr/sbin
    1.24 -	chmod -R 755 $fs/usr/sbin/*
    1.25 -	
    1.26  	# Config
    1.27  	mkdir -p $fs/etc/ppp/plugins
    1.28  	cp $src/configs/pppoe.conf $fs/etc/ppp