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

build ()
{
    MODULES=""
    BINARIES="/usr/sbin/pppoe /usr/sbin/pppoe-connect /usr/sbin/pppoe-relay /usr/sbin/pppoe-server /usr/sbin/pppoe-setup /usr/sbin/pppoe-sniff /usr/sbin/pppoe-start /usr/sbin/pppoe-status /usr/sbin/pppoe-stop"
    FILES=""
    SCRIPT=""
    add_full_dir "/usr/lib/rp-pppoe"
    add_file "/usr/share/archboot/pppoe/etc/ppp/firewall-masq" "/etc/ppp/firewall-masq"
    add_file "/usr/share/archboot/pppoe/etc/ppp/firewall-standalone" "/etc/ppp/firewall-standalone"
    add_file "/usr/share/archboot/pppoe/etc/ppp/pppoe-server-options" "/etc/ppp/pppoe-server-options"
    add_file "/usr/share/archboot/pppoe/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
} 
