2007-02-22 23:46:50 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
|
|
|
install ()
|
|
|
|
{
|
|
|
|
MODULES=" $(checked_modules "/drivers/net/") "
|
|
|
|
|
2007-03-26 22:45:41 +02:00
|
|
|
BINARIES="iwconfig iwevent iwgetid iwlist iwpriv iwspy ifconfig ping ping6 route nslookup telnet ssh netcfg bcm43xx-fwcutter wpa_cli wpa_passphrase wpa_supplicant"
|
2007-02-22 23:46:50 +01:00
|
|
|
FILES=""
|
|
|
|
SCRIPT=""
|
|
|
|
add_file "/sbin/dhcpcd"
|
|
|
|
add_file "/sbin/ifenslave"
|
|
|
|
add_file "/usr/sbin/brctl"
|
|
|
|
add_file "/etc/rc.d/network"
|
|
|
|
add_file "/etc/archboot/etc/conf.d/wireless_conf.d" "/etc/conf.d/wireless"
|
|
|
|
add_file "/etc/archboot/etc/conf.d/dhcpcd_conf.d" "/etc/conf.d/dhcpcd"
|
|
|
|
add_file "/etc/archboot/etc/conf.d/bonding_conf.d" "/etc/conf.d/bonding"
|
|
|
|
add_file "/etc/archboot/etc/conf.d/bridges_conf.d" "/etc/conf.d/bridges"
|
2007-03-26 22:45:41 +02:00
|
|
|
add_file "/etc/archboot/etc/wpa_supplicant.conf" "/etc/wpa_supplicant.conf"
|
2007-02-22 23:46:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook includes the network on an arch boot image.
|
|
|
|
HELPEOF
|
|
|
|
}
|