diff options
Diffstat (limited to 'packages/sshterm/sshterm.xml')
-rw-r--r-- | packages/sshterm/sshterm.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/sshterm/sshterm.xml b/packages/sshterm/sshterm.xml index a77ed1d3..7be68fa3 100644 --- a/packages/sshterm/sshterm.xml +++ b/packages/sshterm/sshterm.xml @@ -37,13 +37,13 @@ <title>Diagnostics: Shell</title> <additional_files_needed> - <prefix>/usr/local/www/</prefix> - <chmod>0755</chmod> + <prefix>/usr/local/www/</prefix> + <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/sshterm/diag_shell_head.php</item> </additional_files_needed> <additional_files_needed> - <prefix>/usr/local/www/</prefix> - <chmod>0755</chmod> + <prefix>/usr/local/www/</prefix> + <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/sshterm/diag_shell_releng.php</item> </additional_files_needed> @@ -73,7 +73,7 @@ <custom_php_resync_config_command> </custom_php_resync_config_command> <custom_php_install_command> - $version = readfile("/etc/version"); + $version = file_get_contents("/etc/version"); if (strpos($version, "HEAD") !== false) { unlink("/usr/local/www/diag_shell_releng.php"); |