2012-05-27 12:04:03 +02:00
|
|
|
#!/bin/bash
|
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
|
|
|
{
|
2012-06-14 14:51:01 +02:00
|
|
|
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"
|
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"
|
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"
|
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
|
|
|
|
}
|