2007-02-22 23:46:50 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2007-02-22 23:46:50 +01:00
|
|
|
{
|
|
|
|
MODULES=""
|
2011-07-25 21:53:01 +02:00
|
|
|
BINARIES="/usr/bin/poff /usr/bin/pon /usr/sbin/chat /usr/sbin/plog /usr/sbin/pppd /usr/sbin/pppdump /usr/sbin/pppoe-discovery /usr/sbin/pppstats"
|
2007-02-22 23:46:50 +01:00
|
|
|
FILES=""
|
|
|
|
SCRIPT=""
|
2010-02-21 17:29:28 +01:00
|
|
|
add_full_dir "/usr/lib/pppd"
|
2007-02-22 23:46:50 +01:00
|
|
|
add_dir "/etc/ppp/peers"
|
2008-12-06 19:12:19 +01:00
|
|
|
add_file "/usr/share/archboot/ppp/etc/ppp/chap-secrets" "/etc/ppp/chap-secrets"
|
|
|
|
add_file "/usr/share/archboot/ppp/etc/ppp/ip-down" "/etc/ppp/ip-down"
|
|
|
|
add_file "/usr/share/archboot/ppp/etc/ppp/ip-up" "/etc/ppp/ip-up"
|
|
|
|
add_file "/usr/share/archboot/ppp/etc/ppp/options" "/etc/ppp/options"
|
|
|
|
add_file "/usr/share/archboot/ppp/etc/ppp/pap-secrets" "/etc/ppp/pap-secrets"
|
2009-12-06 18:52:20 +01:00
|
|
|
add_file "/usr/share/archboot/ppp/etc/ppp/ip-down.d/00-dns.sh" "/etc/ppp/ip-down.d/00-dns.sh"
|
|
|
|
add_file "/usr/share/archboot/ppp/etc/ppp/ip-up.d/00-dns.sh" "/etc/ppp/ip-up.d/00-dns.sh"
|
2007-02-22 23:46:50 +01:00
|
|
|
add_file "/etc/rc.d/ppp"
|
2009-05-08 08:05:45 +02:00
|
|
|
# fix license files
|
|
|
|
add_file "/usr/share/licenses/libpcap/LICENSE"
|
2007-02-22 23:46:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook includes ppp on an arch boot image.
|
|
|
|
HELPEOF
|
|
|
|
}
|