From 6f5e2da03e5fd1af2200d2f55ca84647bc8d3626 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:04:40 +0200 Subject: Adding live-package 0.99.22-1. --- helpers/lh_patchnetwork | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 helpers/lh_patchnetwork (limited to 'helpers/lh_patchnetwork') diff --git a/helpers/lh_patchnetwork b/helpers/lh_patchnetwork new file mode 100755 index 000000000..9d0b4b07a --- /dev/null +++ b/helpers/lh_patchnetwork @@ -0,0 +1,18 @@ +#!/bin/sh + +# lh_patchnetwork.sh + +# 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 -- cgit v1.2.3