archboot/usr/lib/initcpio/install/archboot_netctl

26 lines
576 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
2018-06-23 16:12:07 +02:00
add_full_dir "/usr/lib/netctl/"
2013-02-22 20:45:27 +01:00
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
2021-10-04 11:13:50 +02:00
This hook includes the netctl package on an archboot image.
2013-02-22 20:45:27 +01:00
HELPEOF
}