From 862d0175747e46061f5ce59defe60ffb23fc3782 Mon Sep 17 00:00:00 2001 From: ficus Date: Mon, 24 Sep 2012 14:17:56 +0200 Subject: pass through netif configuration --- torouterui/sysstatus.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'torouterui/sysstatus.py') 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(): -- cgit v1.2.3