# Created by Tobias Powalowski <tpowa@archlinux.org>

install ()
{
    MODULES=""
    BINARIES="pppoe pppoe-connect pppoe-relay pppoe-server pppoe-setup pppoe-sniff pppoe-start pppoe-status pppoe-stop"
    FILES=""
    SCRIPT=""
    add_dir "/etc/ppp/peers/plugins"
    add_file "/etc/archboot/etc/ppp/firewall-masq" "/etc/ppp/firewall-masq"
    add_file "/etc/archboot/etc/ppp/firewall-standalone" "/etc/ppp/firewall-standalone"
    add_file "/etc/archboot/etc/ppp/pppoe-server-options" "/etc/ppp/pppoe-server-options"
    add_file "/etc/archboot/etc/ppp/pppoe.conf" "/etc/ppp/pppoe.conf"
    add_file "/etc/rc.d/adsl"
}

help ()
{
cat<<HELPEOF
  This hook includes rp-pppoe on an arch boot image.
HELPEOF
} 
