jim-p
0b0d83cbf0
Use clog -f /var/log/filter.log to view firewall log entries, so they are displayed in the new format.
2014-12-02 12:46:14 -05:00
Renato Botelho
5a42d9ef42
Fix initial console menu layout, it fixes #3884
2014-10-14 12:23:01 -05:00
Ermal
a3cc8dcc60
Add an option to restart php-fpm from console
2014-10-06 18:05:50 +02:00
Renato Botelho
8c366060e3
pgrep parameters are out of order and it also needs -a to find sshd. While I'm here, simplify sh syntax and prevent noise to be printed if pid file doesn't exist
2014-08-22 10:53:39 -03:00
Chris Buechler
61b2ed1c59
use pgrep here instead, previous way could wrongly show SSH as enabled where it isn't.
2014-08-22 06:28:39 -05:00
Renato Botelho
d4b1e549c2
Back to cons25 for now since we found some issues with xterm on serial console
2014-07-02 17:24:25 -03:00
Renato Botelho
edb4b65732
Fix #3647 and other improvements:
...
- Remove auto_login(), now gettytab is a constant file
- Add reload_ttys(), that will send a SIGHUP to init and make it reload
/etc/ttys
- Change serial speed on /etc/ttys when necessary
- Change console and serial auto_login on /etc/ttys when necessary
- Change default type from cons25 to xterm
2014-07-01 13:37:42 -03:00
Ermal
4aea91d808
Switch to php-fpm for lighty and check_reload_status will use it. Step by step will migrate the other calls
2013-12-14 19:20:55 +00:00
jim-p
33a33c3ec0
Use the same tcpdump command here that we use from the GUI, to avoid potential mismatch of info/errors.
2013-02-11 09:02:43 -05:00
jim-p
e670244759
Unbreak console menu
2012-12-04 21:52:46 -05:00
jim-p
649f13fc9c
Make 11/111 console menu options both kill php, lighty, and then restart the GUI. Not perfect, but better than 11 not working for the times most people need it. Ticket #2709
2012-12-04 14:09:16 -05:00
jim-p
6c6f9253b8
Add a hidden menu option to forcefully kill php, lighty, and then restart the GUI. (Can't make it a part of rc.restart_webgui since killing php would also kill the script itself.)
2012-08-14 12:11:47 -04:00
jim-p
133bd2b285
Add the config history restore script to the console menu.
2011-12-01 10:28:10 -05:00
Andrew Thompson
7734aea648
Make initial changes to allow pfSense to work in a jail.
...
This mostly avoids starting things that will not work and gets the
initial config. Most of the pfSense functionality will not work
(pf rules, routing, etc) but it can be used for testing.
2011-08-17 14:15:18 +12:00
Scott Ullrich
c3ebb66946
Launch running script as well
2011-07-04 14:48:05 -04:00
Scott Ullrich
32cd7c36b5
Add rc.local.running if rc.local is running so it can reattach after a console logout
2011-07-03 22:41:06 -04:00
Scott Ullrich
a32c7a2329
Fix copy and pasto
2011-07-03 14:28:28 -04:00
Scott Ullrich
5f8e5e1460
Launch rc.local into &
2011-07-03 14:27:24 -04:00
Scott Ullrich
2ba6c4ab46
Remove $id. Bump (C) date
2011-07-02 22:41:34 -04:00
Scott Ullrich
9c98ee85df
If rc.local exists launch it
2011-07-02 22:40:29 -04:00
Scott Ullrich
4d0a1adea6
Echo out newline
2010-12-17 22:44:49 -05:00
Scott Ullrich
6141561c82
Add newline after 99 menu option. Otherwise it looks very strange.
2010-12-17 10:53:03 -05:00
jim-p
ec3e48f1f0
Remove \n here, it was being printed on the console. Echo should do the right thing and print a newline at the end on its own.
2010-12-09 14:03:59 -05:00
Scott Ullrich
8d5b8c2033
it's 2010, update (C)
2010-12-06 18:58:33 -05:00
Scott Ullrich
2db9a6d68e
Make menu drape across two columns saving around 10 lines of text making room for more interfaces at the top. Looks good: perry|dk & jim-p
2010-12-06 18:43:01 -05:00
Ermal
f73be85cfd
Use sockstat, netstat might take to long under certain circumstances.
2010-06-01 22:13:32 +00:00
jim-p
651e77c6f7
Don't kill login here. When this happens from ssh is also resets the console menu. Kill $PPID instead which should have the same intended effect.
2010-06-01 12:50:03 -04:00
Scott Ullrich
d1f9da0af2
Nuke old dev bootstrap code that is no longer in use
2009-11-06 20:24:25 -05:00
Chris Buechler
2580f58440
remove unnecessary cat
2009-11-02 04:41:57 -05:00
Scott Ullrich
92c5013cb7
Axe the s in developers. Capitalize accordingly. Suggested by JimP
2009-09-22 18:51:01 -04:00
Scott Ullrich
3f64051e07
Rename PHP Shell to developers shell
2009-09-22 18:47:52 -04:00
Renato Botelho
92a5e926f3
Revert "Use php to detect product name on shell scripts"
...
This reverts commit 0788146225 .
2009-08-26 10:45:30 -03:00
Renato Botelho
0788146225
Use php to detect product name on shell scripts
2009-08-03 16:52:51 -03:00
Scott Ullrich
a0368e6c24
Add a few more *'s so that rebrands look OK
2009-06-16 11:57:44 -04:00
Scott Ullrich
01cdef6c0b
Missing "
2009-05-18 19:19:49 -04:00
Scott Ullrich
49a0eba84e
Doh, it's sh, not php
2009-05-18 19:19:28 -04:00
Scott Ullrich
2bc1456bce
Do not keep respawning to shell on exit. Alert box is rebooting in 5, sleep for 5 to allow CTRL-C
2009-05-18 19:18:12 -04:00
Scott Ullrich
3ec9c84afa
Use custom prompt for Recovery Shell
2009-05-18 18:58:43 -04:00
Scott Ullrich
a9e92f609f
Spawn tcsh instead of sending getty into a DOS loop
2009-05-17 21:39:33 -04:00
Scott Ullrich
e4fcf99bab
Add missing space
2009-05-16 23:12:41 -04:00
Scott Ullrich
15bb64e416
Exit out to shell immediately if recovery console shell option specified.
2009-05-15 21:18:14 -04:00
Scott Ullrich
3d7639eb28
Add hideplatform directive useful for rebranding
2009-03-24 15:30:46 -04:00
Scott Ullrich
19525ae765
Use $g['product_name']
2008-10-26 20:43:48 +00:00
Scott Ullrich
6c7aa8d8f2
Spelling correction
2008-08-30 05:12:34 +00:00
Scott Ullrich
2a5a9c6af4
* Output if SSH is enabled
...
* Kill SSH server but leave open ssh sessions
2008-08-30 04:24:23 +00:00
Scott Ullrich
916c50019b
Remote last_term_seen variable. It's not in use and was debugging only.
...
While here, cleanup the identing mess.
2008-07-13 21:21:56 +00:00
Scott Ullrich
5813dd60bf
Allow new terminals to update last_term_seen even if they are not root.
2008-07-13 21:04:11 +00:00
Scott Ullrich
069f9baee0
Adding script to allow enabling / disabling of SSHD from console menu.
2008-02-22 00:35:56 +00:00
Scott Ullrich
d2d1f8ce54
Change LAN ip to interface ip.
2008-02-22 00:01:03 +00:00
Seth Mos
8a9caa98e1
Reference correct file for upgrade from console.
2007-11-12 11:42:18 +00:00