HEX
Server: LiteSpeed
System: Linux w5304130.sdnsbox.com 4.18.0-425.3.1.lve.el8.x86_64 #1 SMP Tue Nov 22 22:59:23 EST 2022 x86_64
User: makefitmeserver (1001)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //var/softaculous/apps/bind/3/remove.php
<?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');
		
	}
	
}