wok-current diff ppp/receipt @ rev 15886
dropbear/pppssh: add routes support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 08 16:59:03 2014 +0000 (2014-02-08) |
parents | 7710488e9e49 |
children | 86575a4745f4 |
line diff
1.1 --- a/ppp/receipt Sat Feb 08 13:29:05 2014 +0000 1.2 +++ b/ppp/receipt Sat Feb 08 16:59:03 2014 +0000 1.3 @@ -57,6 +57,8 @@ 1.4 cp -a $src/scripts/callback $fs/etc/ppp/scripts 1.5 cp -a $src/scripts/redialer $fs/etc/ppp/scripts 1.6 cat >> $fs/etc/ppp/ip-up <<EOT 1.7 +#!/bin/sh 1.8 + 1.9 if [ -x /etc/ppp/ip-up.d/\$6 ]; then 1.10 . /etc/ppp/ip-up.d/\$6 "\$@" 1.11 elif [ -n "\$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then 1.12 @@ -74,6 +76,8 @@ 1.13 fi 1.14 EOT 1.15 cat >> $fs/etc/ppp/ip-down <<EOT 1.16 +#!/bin/sh 1.17 + 1.18 if [ -x /etc/ppp/ip-down.d/\$6 ]; then 1.19 . /etc/ppp/ip-down.d/\$6 "\$@" 1.20 elif [ -n "\$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then 1.21 @@ -97,4 +101,4 @@ 1.22 chmod go-rwx $fs/etc/ppp/*secrets 1.23 chmod go-rwx $fs/etc/ppp/options 1.24 chmod 711 $fs/etc/ppp/scripts/* 1.25 -} 1.26 \ No newline at end of file 1.27 +}