summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/networkconfig.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-29 18:46:37 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-29 18:46:37 (GMT)
commit195ec12e4483333909a2e3a5a06205284d6851e9 (patch)
tree43fb2ff8047a068794f06c801d7b57ba8db9923c /abs/core/LinHES-config/networkconfig.sh
parent0488d64029e282d6f296093573347eb37d416a1b (diff)
downloadlinhes_pkgbuild-195ec12e4483333909a2e3a5a06205284d6851e9.zip
linhes_pkgbuild-195ec12e4483333909a2e3a5a06205284d6851e9.tar.gz
linhes_pkgbuild-195ec12e4483333909a2e3a5a06205284d6851e9.tar.bz2
LinHES-config: fix vnc installs not stopping the network. fixed parsing of ip address
mv_config: changed location of myth home dir mv_install: fixed running of adding storage and also gave it the ability to read a conf file instead of parsing lines.
Diffstat (limited to 'abs/core/LinHES-config/networkconfig.sh')
-rw-r--r--abs/core/LinHES-config/networkconfig.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/abs/core/LinHES-config/networkconfig.sh b/abs/core/LinHES-config/networkconfig.sh
index 770aa98..b044f20 100644
--- a/abs/core/LinHES-config/networkconfig.sh
+++ b/abs/core/LinHES-config/networkconfig.sh
@@ -206,7 +206,11 @@ function setup_interfaces() {
function find_active () {
#HostActiveeth1="1"
-rm -f ${BASE}/etc/resolv.conf
+if [ ! x$USEVNC = x0 ]
+then
+ rm -f ${BASE}/etc/resolv.conf
+fi
+
if [ x$MYTHDHCP = x1 ]
then
#add 127.0.0.1 to /etc/resolv.conf