aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/tftp/tftp.inc6
-rw-r--r--packages/tftp/tftp.xml2
2 files changed, 4 insertions, 4 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);
diff --git a/packages/tftp/tftp.xml b/packages/tftp/tftp.xml
index cf2bb680..2b27da88 100644
--- a/packages/tftp/tftp.xml
+++ b/packages/tftp/tftp.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>tftp Settings</name>
- <version>1.0</version>
+ <version>1.0.1</version>
<title>TFTP: Settings</title>
<include_file>/usr/local/pkg/tftp.inc</include_file>
<menu>