# HG changeset patch # User Rohit Joshi # Date 1268661630 0 # Node ID b315a2103f94697d2e95e0cdc9cae97058fd4206 # Parent 9cc1cbd5e30b956bfab8e9fbe32b728da7741b26 Up: ppp*; add missing ip-up, ip-down scripts (thanks kultex) diff -r 9cc1cbd5e30b -r b315a2103f94 ppp-dev/receipt --- a/ppp-dev/receipt Mon Mar 15 14:34:31 2010 +0000 +++ b/ppp-dev/receipt Mon Mar 15 14:00:30 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="ppp-dev" -VERSION="2.4.4" +VERSION="2.4.5" CATEGORY="development" SHORT_DESC="Point-to-Point Protocol (PPP) development files." MAINTAINER="pankso@slitaz.org" diff -r 9cc1cbd5e30b -r b315a2103f94 ppp-pam/receipt --- a/ppp-pam/receipt Mon Mar 15 14:34:31 2010 +0000 +++ b/ppp-pam/receipt Mon Mar 15 14:00:30 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="ppp-pam" -VERSION="2.4.4" +VERSION="2.4.5" CATEGORY="network" SHORT_DESC="Implements the Point-to-Point Protocol (PPP) with PAM support." MAINTAINER="pascal.bellard@slitaz.org" @@ -44,4 +44,10 @@ cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts cp -a $src/scripts/callback $fs/etc/ppp/scripts cp -a $src/scripts/redialer $fs/etc/ppp/scripts + + cp -a $src/scripts/ip-up.local.add $fs/etc/ppp/scripts/ip-up + cp -a $src/scripts/ip-down.local.add $fs/etc/ppp/scripts/ip-down + chmod +x $fs/etc/ppp/scripts/ip* + # insert #!/bin/sh on top line in ip* scripts + sed -i '1i\#!/bin/sh' $fs/etc/ppp/scripts/ip* } diff -r 9cc1cbd5e30b -r b315a2103f94 ppp/receipt --- a/ppp/receipt Mon Mar 15 14:34:31 2010 +0000 +++ b/ppp/receipt Mon Mar 15 14:00:30 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="ppp" -VERSION="2.4.4" +VERSION="2.4.5" CATEGORY="network" SHORT_DESC="Implements the Point-to-Point Protocol (PPP)." MAINTAINER="pankso@slitaz.org" @@ -39,4 +39,10 @@ cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts cp -a $src/scripts/callback $fs/etc/ppp/scripts cp -a $src/scripts/redialer $fs/etc/ppp/scripts + + cp -a $src/scripts/ip-up.local.add $fs/etc/ppp/scripts/ip-up + cp -a $src/scripts/ip-down.local.add $fs/etc/ppp/scripts/ip-down + chmod +x $fs/etc/ppp/scripts/ip* + # insert #!/bin/sh on top line in ip* scripts + sed -i '1i\#!/bin/sh' $fs/etc/ppp/scripts/ip* }