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
['installedpackages']['sshterm']['config']
$version = readfile("/etc/version");
if (strpos($version, "HEAD") !== false) {
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");
}