diff options
author | ficus <ficus@robocracy.org> | 2012-09-24 14:17:56 +0200 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-09-24 14:17:56 +0200 |
commit | 862d0175747e46061f5ce59defe60ffb23fc3782 (patch) | |
tree | 8b9d43323a2805f9d87c58bb3388196308380634 /torouterui/sysstatus.py | |
parent | 52039642da2a578ce0e522353edc09f12cdd86f8 (diff) | |
download | tui-862d0175747e46061f5ce59defe60ffb23fc3782.tar.gz tui-862d0175747e46061f5ce59defe60ffb23fc3782.zip |
pass through netif configuration
Diffstat (limited to 'torouterui/sysstatus.py')
-rw-r--r-- | torouterui/sysstatus.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/torouterui/sysstatus.py b/torouterui/sysstatus.py index 32caa26..2d19458 100644 --- a/torouterui/sysstatus.py +++ b/torouterui/sysstatus.py @@ -10,10 +10,11 @@ from util import * def get_system_status(): d = dict() d['hostname'] = cli_read('hostname') - d['fqdn'] = cli_read('hostname -f') - d['domain'] = cli_read('hostname -d') d['current_time'] = cli_read('date -R') d['uptime'] = cli_read('uptime') + # the following do DNS lookups and execute very slowly + #d['fqdn'] = cli_read('hostname -f') + #d['domain'] = cli_read('hostname -d') return d def get_resources_status(): |