archboot/usr/lib/initcpio/install/arch_ppp

31 lines
1.1 KiB
Text
Raw Normal View History

2012-05-27 12:06:40 +02:00
#!/bin/bash
2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2007-02-22 23:46:50 +01:00
{
apps="/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"
2012-05-27 12:06:40 +02:00
for i in $apps; do
add_binary "$i"
done
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"
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
}