wok-6.x rev 5102
ppp:improve ip* scripts path
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 16 15:30:23 2010 +0000 (2010-03-16) |
parents | 7b74d9bf8919 |
children | ca2e9a95d244 |
files | ppp/receipt |
line diff
1.1 --- a/ppp/receipt Tue Mar 16 15:06:18 2010 +0000 1.2 +++ b/ppp/receipt Tue Mar 16 15:30:23 2010 +0000 1.3 @@ -40,9 +40,10 @@ 1.4 cp -a $src/scripts/callback $fs/etc/ppp/scripts 1.5 cp -a $src/scripts/redialer $fs/etc/ppp/scripts 1.6 1.7 - cp -a $src/scripts/ip-up.local.add $fs/etc/ppp/scripts/ip-up 1.8 - cp -a $src/scripts/ip-down.local.add $fs/etc/ppp/scripts/ip-down 1.9 - chmod +x $fs/etc/ppp/scripts/ip* 1.10 + cp -a $src/scripts/ip-up.local.add $fs/etc/ppp/ip-up 1.11 + cp -a $src/scripts/ip-down.local.add $fs/etc/ppp/ip-down 1.12 + chmod +x $fs/etc/ppp/ip* 1.13 # insert #!/bin/sh on top line in ip* scripts 1.14 - sed -i '1i\#!/bin/sh' $fs/etc/ppp/scripts/ip* 1.15 + sed -i '1i\#!/bin/sh' $fs/etc/ppp/ip* 1.16 + 1.17 }