archboot/lib/initcpio/install/arch_netcfg
Tobias Powalowski 5faae40d12 'fixed licenses'
2009-05-08 08:05:45 +02:00

33 lines
776 B
Text

# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
MODULES=""
BINARIES=""
FILES=""
SCRIPT=""
for i in /usr/lib/network/*; do
add_file $i
done
add_dir "/var/run/network/interfaces"
add_dir "/var/run/network/profiles"
add_file "/usr/bin/netcfg-auto-wireless"
add_file "/usr/bin/netcfg-menu"
add_file "/usr/bin/netcfg2"
for i in /etc/network.d/examples/*; do
add_file $i
done
add_file "/etc/rc.d/net-profiles"
add_file "/etc/rc.d/net-rename"
add_file "/etc/rc.d/net-auto"
add_file "/usr/share/archboot/netcfg/etc/iftab" "/etc/iftab"
# fix licenses
add_file "/usr/share/licenses/netcfg/LICENSE"
}
help ()
{
cat<<HELPEOF
This hook includes the netcfg on an arch boot image.
HELPEOF
}