2008-03-16 22:57:21 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2008-03-16 22:57:21 +01:00
|
|
|
{
|
|
|
|
MODULES=""
|
2011-07-25 21:53:01 +02:00
|
|
|
BINARIES="/usr/bin/net-auto-wired /usr/bin/netcfg-wpa_actiond /usr/bin/netcfg-wpa_actiond-action /usr/bin/netcfg-menu /usr/bin/netcfg2 /usr/bin/netcfg"
|
2008-03-16 22:57:21 +01:00
|
|
|
FILES=""
|
|
|
|
SCRIPT=""
|
2010-02-21 17:19:15 +01:00
|
|
|
add_full_dir "/usr/lib/network/"
|
2008-03-16 22:57:21 +01:00
|
|
|
add_dir "/var/run/network/interfaces"
|
|
|
|
add_dir "/var/run/network/profiles"
|
2010-02-21 17:19:15 +01:00
|
|
|
add_full_dir "/etc/network.d/examples"
|
2009-11-23 22:50:18 +01:00
|
|
|
add_dir "/etc/network.d/hooks"
|
2008-03-16 22:57:21 +01:00
|
|
|
add_file "/etc/rc.d/net-profiles"
|
|
|
|
add_file "/etc/rc.d/net-rename"
|
2009-11-23 22:50:18 +01:00
|
|
|
add_file "/etc/rc.d/net-auto-wired"
|
|
|
|
add_file "/etc/rc.d/net-auto-wireless"
|
2008-12-06 19:12:19 +01:00
|
|
|
add_file "/usr/share/archboot/netcfg/etc/iftab" "/etc/iftab"
|
2009-11-26 20:27:32 +01:00
|
|
|
add_file "/etc/ifplugd/netcfg.action"
|
2009-05-08 08:05:45 +02:00
|
|
|
# fix licenses
|
|
|
|
add_file "/usr/share/licenses/netcfg/LICENSE"
|
2008-03-16 22:57:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
2009-11-28 18:31:39 +01:00
|
|
|
This hook includes the netcfg package on an arch boot image.
|
2008-03-16 22:57:21 +01:00
|
|
|
HELPEOF
|
|
|
|
}
|