diff options
author | James Meyer <james.meyer@operamail.com> | 2009-09-08 14:30:02 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-09-08 14:30:02 (GMT) |
commit | 8beb20649824b0bc50d953e11a6d49f01a76cace (patch) | |
tree | ce1c830807935bc160f55036ca16c984babbc6aa /abs/core-testing/LinHES-config | |
parent | 9aaaefcda2a88107de1c305f0b93efb1e07049d6 (diff) | |
download | linhes_pkgbuild-8beb20649824b0bc50d953e11a6d49f01a76cace.zip linhes_pkgbuild-8beb20649824b0bc50d953e11a6d49f01a76cace.tar.gz linhes_pkgbuild-8beb20649824b0bc50d953e11a6d49f01a76cace.tar.bz2 |
linhes-config: install_functions, account for multiple dns servers be removing all but the first.
Diffstat (limited to 'abs/core-testing/LinHES-config')
-rwxr-xr-x | abs/core-testing/LinHES-config/install_functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/install_functions.sh b/abs/core-testing/LinHES-config/install_functions.sh index 72023bd..4df2e8c 100755 --- a/abs/core-testing/LinHES-config/install_functions.sh +++ b/abs/core-testing/LinHES-config/install_functions.sh @@ -296,7 +296,7 @@ function request_dhcp(){ update_db_settings HostNETMASK$ndev "$TEMPVAR" TEMPVAR=`grep new_routers /tmp/dhcpinfo.$ndev |cut -d\= -f2` update_db_settings HostGW$ndev "$TEMPVAR" - TEMPVAR=`grep new_domain_name_servers /tmp/dhcpinfo.$ndev |cut -d\= -f2` + TEMPVAR=`grep new_domain_name_servers /tmp/dhcpinfo.$ndev |cut -d\= -f2| tr -d\"|tr -d\'|cut -d" " -f 1` update_db_settings HostDNS$ndev "$TEMPVAR" fi fi |