Php-shell in 1.2.3-rc3 – is it here?
1.2.3-rc3 "official" (not snapshot), pc ondisk install. Found "Working with php shell" on wiki and immediately tried topmost samples (just copypasted):
Enter an option: 12 Starting the pfSense shell system............... Welcome to the pfSense php shell system Written by Scott Ullrich (email@example.com) Type "help" to show common usage scenarios. pfSense shell: print_r($GLOBALS['config']['interfaces']); pfSense shell: print_r($GLOBALS['config']); pfSense shell: quit *** Welcome to pfSense 1.2.3-RC3-pfSense on gate ***
Where is output?! What's wrong (both on tty0 and ssh)?
You need to type "exec;" to execute the code.
Thank U very much, it works.
JFYI: here is NO ONE string "exec;" on mentioned wiki page and all samples looks like it works immediately after CR (like in std console)
I updated that page. The information it had was very, very out of date.