aboutsummaryrefslogtreecommitdiffstats
path: root/config/tftp2
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-25 10:06:33 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-25 10:06:33 +0200
commit1655f88deee13024c160c371d9ca79de273ad98c (patch)
treee3054e64c368dfb7d21d8287ebdfde6496af0752 /config/tftp2
parent836c44690134dd104de50f2eab0f042a964af5a6 (diff)
downloadpfsense-packages-1655f88deee13024c160c371d9ca79de273ad98c.tar.gz
pfsense-packages-1655f88deee13024c160c371d9ca79de273ad98c.tar.bz2
pfsense-packages-1655f88deee13024c160c371d9ca79de273ad98c.zip
Remove useless remount calls
These are dealt with by install_package() and uninstall_package() from pkg-utils.inc.
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) {