diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-28 09:01:07 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-28 09:01:07 -0300 |
commit | 3977f59b180791156208cd6865eef5cae734f044 (patch) | |
tree | 85076ce952355cf3894a5b3f52726439445f0656 /config/tftp2 | |
parent | 66dad7feacac607560844228c0cd58537bc1a994 (diff) | |
parent | 3bdbee31d112b473ce66bcd321cdcd706dc17131 (diff) | |
download | pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.gz pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.bz2 pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.zip |
Merge pull request #1024 from doktornotor/patch-4
Diffstat (limited to 'config/tftp2')
-rw-r--r-- | config/tftp2/tftp.inc | 4 |
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) { |