archboot/install/arch-ppp
Alexander Baldeck 2a150b1dca Initial revision
2007-02-22 22:46:50 +00:00

26 lines
731 B
Text

# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
MODULES=""
BINARIES="poff pon chat plog pppd pppdump pppoe-discovery pppstats"
FILES=""
SCRIPT=""
for i in $(find /usr/lib/pppd ! -type d); do
add_file "$i"
done
add_dir "/etc/ppp/peers"
add_file "/etc/archboot/etc/ppp/chap-secrets" "/etc/ppp/chap-secrets"
add_file "/etc/archboot/etc/ppp/ip-down" "/etc/ppp/ip-down"
add_file "/etc/archboot/etc/ppp/ip-up" "/etc/ppp/ip-up"
add_file "/etc/archboot/etc/ppp/options" "/etc/ppp/options"
add_file "/etc/archboot/etc/ppp/pap-secrets" "/etc/ppp/pap-secrets"
add_file "/etc/rc.d/ppp"
}
help ()
{
cat<<HELPEOF
This hook includes ppp on an arch boot image.
HELPEOF
}