| | |
| | | |
| | | //* Create the slave subdirectory |
| | | $content .= 'slave'; |
| | | if(!@is_dir($content)) mkdir($content, 2770, true); |
| | | if(!@is_dir($content)) mkdir($content, 02770, true); |
| | | |
| | | //* Chown the slave subdirectory to $conf['bind']['bind_user'] |
| | | chown($content, $conf['bind']['bind_user']); |
| | | chgrp($content, $conf['bind']['bind_group']); |
| | | chmod($content, 2770); |
| | | chmod($content, 02770); |
| | | |
| | | //* Install scripts for dnssec implementation |
| | | $this->process_bind_file('named.conf.options', '/etc/bind/', true); //TODO replace hardcoded path |
| | |
| | | |
| | | } |
| | | |
| | | ?> |
| | | ?> |