archboot/usr/lib/initcpio/install/arch_netcfg

32 lines
893 B
Text
Raw Normal View History

2012-05-27 12:04:03 +02:00
#!/bin/bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
apps="/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"
2012-05-27 12:04:03 +02:00
for i in $apps; do
add_binary "$i"
done
2010-02-21 17:19:15 +01:00
add_full_dir "/usr/lib/network/"
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"
2012-04-18 10:48:06 +02:00
add_file "/etc/rc.d/functions.d/net-set-variable"
2012-08-15 22:25:01 +02:00
add_file "/etc/iftab"
2009-11-26 20:27:32 +01:00
add_file "/etc/ifplugd/netcfg.action"
2012-08-15 22:25:01 +02:00
add_file "etc/conf.d/netcfg"
2009-05-08 08:05:45 +02:00
# fix licenses
add_file "/usr/share/licenses/netcfg/LICENSE"
}
help ()
{
cat<<HELPEOF
This hook includes the netcfg package on an arch boot image.
HELPEOF
}