summaryrefslogtreecommitdiff
path: root/helpers/lh_patchnetwork
blob: 9d0b4b07a87d91233e0b6292a873516c0ea17be2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# lh_patchnetwork.sh <action>

# Packages which are manually installed inside the chroot are installed
# from the network. Therefore, we need to be able to resolv hosts.

case "${1}" in
	apply)
		lh_confignetwork apply-hosts
		lh_confignetwork apply-resolv
		;;

	deapply)
		lh_confignetwork deapply-hosts
		lh_confignetwork deapply-resolv
		;;
esac