archboot/usr/lib/initcpio/install/arch_pppoe
2012-06-14 14:51:01 +02:00

25 lines
885 B
Bash

#!/bin/bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
apps="/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"
for i in $apps; do
add_binary "$i"
done
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
}