wok-next rev 2618
rp-pppoe: Fix permission on scripts
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 13 21:19:41 2009 +0200 (2009-04-13) |
parents | c5a5fdb28e98 |
children | 5f9c6a3e560f |
files | rp-pppoe/receipt |
line diff
1.1 --- a/rp-pppoe/receipt Mon Apr 13 14:20:55 2009 +0000 1.2 +++ b/rp-pppoe/receipt Mon Apr 13 21:19:41 2009 +0200 1.3 @@ -14,7 +14,7 @@ 1.4 { 1.5 cd $src/src 1.6 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.7 - --mandir=/usr/share/man $CONFIGURE_ARGS 1.8 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.9 make 1.10 } 1.11 1.12 @@ -26,13 +26,11 @@ 1.13 cp -a $src/src/pppoe-server $fs/usr/sbin 1.14 cp -a $src/src/pppoe-relay $fs/usr/sbin 1.15 cp -a $src/src/pppoe-sniff $fs/usr/sbin 1.16 - strip -s $fs/usr/sbin/* 1.17 1.18 # 1.19 # BUG 1.20 #cp $src/scripts/pppoe-setup $fs/usr/sbin 1.21 cp stuff/pppoe-setup $fs/usr/sbin 1.22 - chmod -R 755 $fs/usr/sbin/* 1.23 1.24 # Scripts to /usr/sbin. 1.25 # 1.26 @@ -50,4 +48,7 @@ 1.27 cp $src/configs/pppoe-server-options $fs/etc/ppp 1.28 echo "# Directory created by rp-pppoe for kernel-mode plugin" > \ 1.29 $fs/etc/ppp/plugins/README 1.30 + 1.31 + # Fix permissions on all scripts 1.32 + chmod -R 755 $fs/usr/sbin/* 1.33 }