diff --git a/gestion/gen_confs/generate.py b/gestion/gen_confs/generate.py index 91127fcc..d1377272 100755 --- a/gestion/gen_confs/generate.py +++ b/gestion/gen_confs/generate.py @@ -101,6 +101,10 @@ class base_reconfigure : eval("firewall.firewall_%s()" % hostname).mac_ip_maj(ips) class rouge(base_reconfigure) : + def autostatus(self) : + from autostatus import autostatus + self._do(autostatus()) + def dns(self) : from gen_confs.bind import dns self._do(dns(),self._machines()) @@ -228,10 +232,6 @@ class zamok(base_reconfigure) : from gen_confs.switchs import switch self._do(switch(chambres)) - def autostatus(self) : - from autostatus import autostatus - self._do(autostatus()) - signal.signal(signal.SIGINT,signal.SIG_DFL) # Comportement normal de Ctrl-C remove_lock('auto_generate')