Commit Graph

119 Commits

Author SHA1 Message Date
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
Bill Marquette
9579868fce Ticket #1427 - webConfigurator is a better choice, it is used everywhere else 2007-10-16 23:54:21 +00:00
Bill Marquette
5ad936b6e4 Ticket #1427 - use webGUI instead of webConfigurator 2007-10-16 23:51:19 +00:00
Scott Ullrich
4f1fbb19ad Reset terminals on blank input which could be a console reload war between some kind of strange "new spawned console". 2007-06-03 20:50:57 +00:00
Scott Ullrich
47944c7c2d Launch file correctly 2007-05-01 22:23:54 +00:00
Scott Ullrich
f4feb493f2 Add firmware update menu option which can fetch a URL from the internet or use a already fetched file from the file system. 2007-05-01 21:56:56 +00:00
Scott Ullrich
3c2972b397 Add pfSense php shell option. This will be used by developers to tell operators how to remove blank config options and many other things that will be easier than instructing someone to edit config.xml directly, etc. 2007-04-29 23:57:22 +00:00
Scott Ullrich
e8b82b8191 ctrl-c is handy in the shell. Do not lock out. 2007-03-02 17:32:15 +00:00
Scott Ullrich
4b7cf20419 Uncomment the trap statements. Now CTRL-C will kill the SSH session. 2006-10-01 17:03:09 +00:00
Scott Ullrich
2bccfcdb97 Allow CTRL-C, CTRL-Z on console, etc. 2006-09-19 22:28:07 +00:00
Scott Ullrich
45e386457c Add (y/n) hint 2006-09-17 06:47:00 +00:00
Scott Ullrich
2c05cc106a Explain to the user that the developer bootstrap process populates /usr/src, etc. 2006-09-17 06:45:16 +00:00
Scott Ullrich
f321b3a2f9 MFC 13617
The conditional fails if /var/db/pfi/capable_* expands to more than one file as [ -f ... ] can only be used to check a single file. Use a loop with a break to get around this.
2006-08-07 03:07:08 +00:00
Scott Ullrich
6a997de8a4 Restore previous rc.banner behavior. 2006-07-01 21:56:20 +00:00
Scott Ullrich
d8d46c2622 Move sleep statement to do loop when option entered is ""
Helps work around  - Ticket #1021
2006-07-01 20:05:29 +00:00
Scott Ullrich
4c7856cfc5 Move sleep outside of the menu loop 2006-06-25 02:01:11 +00:00
Scott Ullrich
bcdc949626 Increase the sleep time to counteract the tty respawn bug that is slowing down everything else since its basically fork bombing. 2006-06-21 19:24:13 +00:00
Scott Ullrich
dc7e008c13 Add option #12 show interface info 2006-06-09 23:25:45 +00:00
Scott Ullrich
ca1f064195 * Only run rc.banner when you first login
* Improve CTRL-C message
2006-06-07 00:54:58 +00:00
Scott Ullrich
c1b3f10267 Back out last commit. Restore CTRL-C behavior. 2006-05-11 21:26:30 +00:00
Scott Ullrich
b7ac175ce0 Do not trap on rc.inital menu 2006-04-29 21:28:25 +00:00
Scott Ullrich
029b7cf734 webGUI -> webConfigurator 2006-04-21 01:27:39 +00:00
Scott Ullrich
111420552e Remove option 12. It doesn't work on Embedded. 2006-04-17 16:28:13 +00:00
Scott Ullrich
e15abfedcb Add option 13 to change keyboard mapping for our friends across the pond 2006-04-13 19:30:45 +00:00
Scott Ullrich
74283bbb86 Explain that the tailing process will exit when developer bootstrap is completed. 2006-04-08 22:11:24 +00:00
Scott Ullrich
f6db5a8384 Explain what the development bootstrap process is doing and what to expect 2006-04-08 22:08:47 +00:00