# HG changeset patch
# User Pascal Bellard <pascal.bellard@slitaz.org>
# Date 1238070189 0
# Node ID f203ac49775d32180ebaa0c25580055f7892c8ed
# Parent  e9b5cd52f1600bdde7416de720ef07a0ab9bf65e
rp-pppoe: fix genpkg_rules

diff -r e9b5cd52f160 -r f203ac49775d rp-pppoe/receipt
--- a/rp-pppoe/receipt	Thu Mar 26 11:20:53 2009 +0000
+++ b/rp-pppoe/receipt	Thu Mar 26 12:23:09 2009 +0000
@@ -28,6 +28,12 @@
 	cp -a $src/src/pppoe-sniff $fs/usr/sbin
 	strip -s $fs/usr/sbin/*
 	
+	#
+	# BUG
+	#cp $src/scripts/pppoe-setup $fs/usr/sbin
+	cp stuff/pppoe-setup $fs/usr/sbin
+	chmod -R 755 $fs/usr/sbin/*
+	
 	# Scripts to /usr/sbin.
 	#
 	cp $src/scripts/pppoe-connect $fs/usr/sbin
@@ -36,12 +42,6 @@
 	cp $src/scripts/pppoe-stop $fs/usr/sbin
 	sed -i 's|/usr/bin/id|id|' $fs/usr/sbin/pppoe-connect \
 		$fs/usr/sbin/pppoe-setup $fs/usr/sbin/pppoe-start
-	#
-	# BUG
-	#cp $src/scripts/pppoe-setup $fs/usr/sbin
-	cp stuff/pppoe-setup $fs/usr/sbin
-	chmod -R 755 $fs/usr/sbin/*
-	
 	# Config
 	mkdir -p $fs/etc/ppp/plugins
 	cp $src/configs/pppoe.conf $fs/etc/ppp