<?php /* function __bind_preremove(){ } function __bind_postremove(){ } */ function __bind_remove(){ global $infos, $webuzo, $globals; $distro = $globals['WU_DISTRO']; if($distro == 'ubuntu'){ // Remove Bind yum('bind9*', 'remove'); vexec('rm -rf /etc/init.d/named'); }else{ // Remove Bind yum('bind', 'remove'); yum('bind-devel', 'remove'); yum('bind-utils', 'remove'); } }