aboutsummaryrefslogtreecommitdiffstats
path: root/config/tftp2
diff options
context:
space:
mode:
Diffstat (limited to 'config/tftp2')
-rw-r--r--config/tftp2/tftp.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/tftp2/tftp.inc b/config/tftp2/tftp.inc
index a2b7d1e3..67054619 100644
--- a/config/tftp2/tftp.inc
+++ b/config/tftp2/tftp.inc
@@ -45,7 +45,6 @@ function tftp_install_command() {
$tftpbackup = "/root/backup/tftp.bak.tgz";
// Create the directories if required
- conf_mount_rw();
safe_mkdir("{$tftpdir}", 0777);
safe_mkdir("/root/backup/");
@@ -55,14 +54,11 @@ function tftp_install_command() {
system("/bin/chmod -R 0744 {$tftpdir}/*");
unset($tftpbackup);
}
- conf_mount_ro();
}
function tftp_deinstall_command() {
- conf_mount_rw();
unlink_if_exists("/usr/local/etc/rc.d/tftp.sh");
unlink_if_exists("/tmp/pkg_mgr_tftp.log");
- conf_mount_ro();
}
function tftp_generate_rules($type) {