2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2013-02-22 20:45:27 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
|
|
|
build ()
|
|
|
|
{
|
2022-03-14 21:32:33 +01:00
|
|
|
map add_binary netctl-auto wifi-menu netctl
|
|
|
|
map add_full_dir "/usr/lib/netctl/" "/etc/netctl/"
|
2013-02-22 20:45:27 +01:00
|
|
|
add_file "/etc/ifplugd/netctl.action"
|
2013-06-04 09:01:18 +02:00
|
|
|
# add openresolv depends
|
|
|
|
add_binary "resolvconf"
|
2022-03-14 21:32:33 +01:00
|
|
|
map add_file "/etc/resolvconf.conf" "/usr/share/licenses/openresolv/LICENSE"
|
2013-06-04 09:01:18 +02:00
|
|
|
add_full_dir "/usr/lib/resolvconf/"
|
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
|
|
|
|
}
|