2022-03-16 10:00:53 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
|
|
|
build ()
|
|
|
|
{
|
|
|
|
apps="dnsdomainname netstat arp ipmaddr iptunnel mii-tool nameif plipconfig rarp \
|
2022-11-26 19:22:14 +01:00
|
|
|
slattach traceroute arping clockdiff tracepath dig host nslookup telnet ssh arpd \
|
2022-12-09 21:31:23 +01:00
|
|
|
genl ifstat ctstat rtstat lnstat nstat rtacct rtmon ss tc \
|
2022-11-26 19:22:14 +01:00
|
|
|
bridge dcb devlink rdma tipc vdpa ethtool elinks dhcp_lease_time dhcp_release \
|
|
|
|
dhcp_release6 routel brctl"
|
2022-03-16 10:00:53 +01:00
|
|
|
for i in $apps; do
|
|
|
|
rm /usr/bin/"$i"
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook cleans up binaries of archboot_net hook,
|
|
|
|
for update installer routine.
|
|
|
|
DO NOT USE ON REGULAR SYSTEM!.
|
|
|
|
HELPEOF
|
|
|
|
}
|