archboot/usr/lib/initcpio/install/arch_netctl

26 lines
578 B
Text
Raw Normal View History

#!/usr/bin/env bash
2013-02-22 20:45:27 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
2013-05-22 11:36:00 +02:00
apps="netctl-auto wifi-menu netctl"
2013-02-22 20:45:27 +01:00
for i in $apps; do
add_binary "$i"
done
add_full_dir "/usr/lib/network/"
add_full_dir "/etc/netctl/"
add_file "/etc/ifplugd/netctl.action"
2013-06-04 09:01:18 +02:00
# add openresolv depends
add_binary "resolvconf"
add_file "/etc/resolvconf.conf"
add_full_dir "/usr/lib/resolvconf/"
add_file "/usr/share/licenses/openresolv/LICENSE"
2013-02-22 20:45:27 +01:00
}
help ()
{
cat<<HELPEOF
This hook includes the netctl package on an arch boot image.
HELPEOF
}