sshterm 1.0 Diagnostics: Shell /usr/local/www/ 0755 http://www.pfsense.org/packages/config/sshterm/diag_shell_head.php /usr/local/www/ 0755 http://www.pfsense.org/packages/config/sshterm/diag_shell_releng.php Shell
Diagnostics
sshterm.xml /diag_shell.php
['installedpackages']['sshterm']['config'] $version = readfile("/etc/version"); if ($version == "HEAD") { unlink("/usr/local/www/diag_shell_releng.php"); rename("/usr/local/www/diag_shell_head.php", "/usr/local/www/diag_shell.php"); } else { unlink("/usr/local/www/diag_shell_head.php"); rename("/usr/local/www/diag_shell_releng.php", "/usr/local/www/diag_shell.php"); }