activate pacmodule
This commit is contained in:
parent
acb3253679
commit
96ce975aec
@ -150,6 +150,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
|||||||
|
|
||||||
private Processor createDNSServerRemoveProcessor(String domName) {
|
private Processor createDNSServerRemoveProcessor(String domName) {
|
||||||
return new ShellProcessor("grep -v '\"sec." + domName + "\"' /etc/bind/named-hsh.conf >/etc/bind/named-hsh.conf.tmp" +
|
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" +
|
" && mv /etc/bind/named-hsh.conf.tmp /etc/bind/named-hsh.conf" +
|
||||||
" && rm /var/cache/bind/sec." + domName +
|
" && rm /var/cache/bind/sec." + domName +
|
||||||
" && invoke-rc.d bind9 reload");
|
" && invoke-rc.d bind9 reload");
|
||||||
|
@ -19,7 +19,7 @@ import de.hsadmin.mods.cust.Customer;
|
|||||||
import de.hsadmin.mods.dom.Domain;
|
import de.hsadmin.mods.dom.Domain;
|
||||||
import de.hsadmin.mods.user.UnixUser;
|
import de.hsadmin.mods.user.UnixUser;
|
||||||
|
|
||||||
public class NoPacModuleImpl extends AbstractModuleImpl {
|
public class PacModuleImpl extends AbstractModuleImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<AbstractEntity> search(Class<? extends AbstractEntity> entityClass,
|
public List<AbstractEntity> search(Class<? extends AbstractEntity> entityClass,
|
Loading…
Reference in New Issue
Block a user