diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-29 18:46:37 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-29 18:46:37 (GMT) |
commit | 195ec12e4483333909a2e3a5a06205284d6851e9 (patch) | |
tree | 43fb2ff8047a068794f06c801d7b57ba8db9923c /abs/core/LinHES-config/install_proxy.sh | |
parent | 0488d64029e282d6f296093573347eb37d416a1b (diff) | |
download | linhes_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/install_proxy.sh')
-rwxr-xr-x | abs/core/LinHES-config/install_proxy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core/LinHES-config/install_proxy.sh b/abs/core/LinHES-config/install_proxy.sh index d68dfc9..53d48c9 100755 --- a/abs/core/LinHES-config/install_proxy.sh +++ b/abs/core/LinHES-config/install_proxy.sh @@ -77,7 +77,8 @@ case $1 in ;; check_self) - myipdefault=`ifconfig | grep -C1 $default_interface| grep -v $default_interface | cut -d: -f2 | awk '{ print $1}'` + #myipdefault=`ifconfig | grep -C1 $default_interface| grep -v $default_interface | cut -d: -f2 | awk '{ print $1}'` + myipdefault=`ip addr show $default_interface| grep inet |grep -v inet6 | cut -d/ -f1 | awk '{ print $2}'` echo "network check myself" ifconfig ping -c 1 $myipdefault |