diff options
Diffstat (limited to 'packages/tftp/tftp.inc')
-rw-r--r-- | packages/tftp/tftp.inc | 6 |
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); |