# SliTaz package receipt. PACKED_SIZE="20.0K" UNPACKED_SIZE="48.0K" PACKAGE="ppp-plugins-atm" VERSION="2.4.5" CATEGORY="network" SHORT_DESC="ppp extras ADSL using pppoatm" MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://ppp.samba.org/" DEPENDS="ppp" WANTED="ppp" CONFIG_FILES="/etc/ppp/" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/pppd/$VERSION cp -a $_pkg/usr/lib/pppd/$VERSION/pppoatm.so $fs/usr/lib/pppd/$VERSION } config_form() { [ -n "$OPTIONS" -a "$OPTIONS" != "lock" ] || OPTIONS="lock plugin pppoatm.so 8.35 name provider-ID noipdefault usepeerdns defaultroute persist noauth " cat < Options
$(cat $1/etc/ppp/chap-secrets)
chap-secrets
$(cat $1/etc/ppp/pap-secrets)
pap-secrets EOT } post_install() { cat > $1/etc/ppp/options <> $1/etc/ppp/pap-secrets <> $1/etc/ppp/chap-secrets <