aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tftp/tftp.inc
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2009-02-01 11:52:06 +0000
committerMark Crane <mcrane@pfsense.org>2009-02-01 11:52:06 +0000
commit5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8 (patch)
treed9dc32052a8c6890683afceffee3b592d30f9106 /packages/tftp/tftp.inc
parentd00e4a703c02e59b9318d11612109642a1186b36 (diff)
downloadpfsense-packages-5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8.tar.gz
pfsense-packages-5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8.tar.bz2
pfsense-packages-5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8.zip
TFTP package syntax change, and change to inetd so that tftp will start on pfsense 1.2.3.
Diffstat (limited to 'packages/tftp/tftp.inc')
-rw-r--r--packages/tftp/tftp.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/tftp/tftp.inc b/packages/tftp/tftp.inc
index b731a9ac..348ef6c4 100644
--- a/packages/tftp/tftp.inc
+++ b/packages/tftp/tftp.inc
@@ -126,7 +126,7 @@ function php_install_command()
fclose($handle);
$handle = fopen($filename,"w");
- $contents = str_replace("#tftp dgram udp wait root /usr/libexec/tftpd", "tftp dgram udp wait root /usr/libexec/tftpd", $contents);
+ $contents = str_replace("#tftp dgram", "tftp dgram", $contents);
fwrite($handle, $contents);
unset($contents);
fclose($handle);
@@ -155,7 +155,7 @@ function php_install_command()
$tmpsearch = "function show_netboot_config() {";
$tmpreplace = "function show_tftp_config() {\n";
- $tmpreplace .= " document.getElementById(\"showtftpbox\").innerHTML=''\n";
+ $tmpreplace .= " document.getElementById(\"showtftpbox\").innerHTML='';\n";
$tmpreplace .= " aodiv = document.getElementById('showtftp');\n";
$tmpreplace .= " aodiv.style.display = \"block\";\n";
$tmpreplace .= "}\n";
@@ -258,7 +258,7 @@ function php_deinstall_command()
fclose($handle);
$handle = fopen($filename,"w");
- $contents = str_replace("tftp dgram udp wait root /usr/libexec/tftpd", "#tftp dgram udp wait root /usr/libexec/tftpd", $contents);
+ $contents = str_replace("tftp dgram", "#tftp dgram", $contents);
fwrite($handle, $contents);
unset($contents);
fclose($fout);