# HG changeset patch # User igor # Date 1193336821 -10800 # Node ID b9536e00100aa92863779868820d9c036cad290a # Parent ca80f73e403bb514061f58e73c1db118f235df7d exec timeout 0 diff -r ca80f73e403b -r b9536e00100a xentaur.py --- a/xentaur.py Thu Oct 25 18:02:18 2007 +0300 +++ b/xentaur.py Thu Oct 25 21:27:01 2007 +0300 @@ -523,6 +523,14 @@ write_to(dom,"\n\nena\nconf t\nline console 0\nlogging synchronous\nend\n") return 0 +def configure_exec_timeout_0(doms=domains): + for dom in domains: + if domain_types[domains.index(dom)] == 'quagga': + 0 + else: + write_to(dom,"\n\nena\nconf t\nline console 0\nexec timeout 0\nend\n") + return 0 + def configure_save(doms=domains): write_to(doms,"\nwr\n")