activate pacmodule

This commit is contained in:
Peter Hormanns 2011-10-21 12:46:13 +00:00
parent acb3253679
commit 96ce975aec
2 changed files with 2 additions and 1 deletions

View File

@ -150,6 +150,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
private Processor createDNSServerRemoveProcessor(String domName) {
return new ShellProcessor("grep -v '\"sec." + domName + "\"' /etc/bind/named-hsh.conf >/etc/bind/named-hsh.conf.tmp" +
// TODO sed -e'/sec.abc.example.com/d' -i /etc/bind/named-hsh.conf
" && mv /etc/bind/named-hsh.conf.tmp /etc/bind/named-hsh.conf" +
" && rm /var/cache/bind/sec." + domName +
" && invoke-rc.d bind9 reload");

View File

@ -19,7 +19,7 @@ import de.hsadmin.mods.cust.Customer;
import de.hsadmin.mods.dom.Domain;
import de.hsadmin.mods.user.UnixUser;
public class NoPacModuleImpl extends AbstractModuleImpl {
public class PacModuleImpl extends AbstractModuleImpl {
@Override
public List<AbstractEntity> search(Class<? extends AbstractEntity> entityClass,