archboot/usr/lib/initcpio/install/archboot_net

45 lines
1.5 KiB
Text
Raw Normal View History

#!/usr/bin/env bash
2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2007-02-22 23:46:50 +01:00
{
2017-11-27 09:46:16 +01:00
apps="dnsdomainname netstat arp ipmaddr iptunnel mii-tool nameif plipconfig rarp \
slattach traceroute arping clockdiff rarpd rdisc tracepath \
2022-01-14 14:17:07 +01:00
dig host nslookup telnet ssh arpd genl ifstat lnstat nstat rtacct rtmon ss \
2022-01-30 11:31:54 +01:00
tc dhclient ifplugd ifplugstatus bridge dcb devlink rdma ss tipc vdpa dhcpcd \
ping ethtool elinks ctstat rtstat dhcp_lease_time dhcp_release dhcp_release6 \
routel brctl dhclient-script"
2012-05-27 12:04:03 +02:00
for i in $apps; do
add_binary "$i"
done
# add iproute 2
add_full_dir "/usr/lib/tc"
add_full_dir "/usr/share/tc"
add_full_dir "/etc/iproute2"
# add openssl helper libraries
add_full_dir "/usr/lib/engines"
2012-04-22 20:38:54 +02:00
# add dnssec-anchors
add_file "/etc/trusted-key.key"
# add dhclient support
add_dir "/var/lib/dhclient"
add_dir "/var/state/dhcp"
# add ifplugd support
add_full_dir "/etc/ifplugd"
2009-05-08 08:05:45 +02:00
# fixing licenses
add_file "/usr/share/licenses/db/LICENSE"
add_file "/usr/share/licenses/dhclient/LICENSE"
2020-08-15 10:49:30 +02:00
add_file "/usr/share/licenses/bind/LICENSE"
2011-05-09 15:03:19 +02:00
add_file "/usr/share/licenses/krb5/LICENSE"
2009-05-08 08:49:58 +02:00
add_file "/usr/share/licenses/openssh/LICENCE"
2009-05-08 08:05:45 +02:00
add_file "/usr/share/licenses/openssl/LICENSE"
2012-04-18 10:32:09 +02:00
add_file "/usr/share/licenses/sqlite/license.txt"
2012-04-22 20:38:54 +02:00
add_file "/usr/share/licenses/dnssec-anchors/LICENSE"
2007-02-22 23:46:50 +01:00
}
help ()
{
cat<<HELPEOF
2021-10-04 11:13:50 +02:00
This hook includes the network on an archboot image.
2007-02-22 23:46:50 +01:00
HELPEOF
}