archboot/usr/lib/initcpio/install/arch_netcfg
Tobias Powalowski 0883993112 fix netcfg
2012-04-18 10:48:06 +02:00

31 lines
1 KiB
Text

# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
MODULES=""
BINARIES="/usr/bin/netcfg-wpa_actiond /usr/bin/netcfg-wpa_actiond-action /usr/bin/netcfg-menu /usr/bin/netcfg-daemon /usr/bin/wifi-menu /usr/bin/netcfg"
FILES=""
SCRIPT=""
add_full_dir "/usr/lib/network/"
add_dir "/var/run/network/interfaces"
add_dir "/var/run/network/profiles"
add_full_dir "/etc/network.d/examples"
add_dir "/etc/network.d/hooks"
add_file "/etc/rc.d/net-profiles"
add_file "/etc/rc.d/net-rename"
add_file "/etc/rc.d/net-auto-wired"
add_file "/etc/rc.d/net-auto-wireless"
add_file "/etc/rc.d/functions.d/net-set-variable"
add_file "/usr/share/archboot/netcfg/etc/iftab" "/etc/iftab"
add_file "/etc/ifplugd/netcfg.action"
add_file "/usr/share/archboot/netcfg/etc/conf.d/netcfg" "etc/conf.d/netcfg"
# fix licenses
add_file "/usr/share/licenses/netcfg/LICENSE"
}
help ()
{
cat<<HELPEOF
This hook includes the netcfg package on an arch boot image.
HELPEOF
}