Project

General

Profile

Download (3.68 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
8c366060 08/22/2014 01:53 PM Renato Botelho

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

61b2ed1c 08/22/2014 11:28 AM Chris Buechler

use pgrep here instead, previous way could wrongly show SSH as enabled where it isn't.

d4b1e549 07/02/2014 08:24 PM Renato Botelho

Back to cons25 for now since we found some issues with xterm on serial console

edb4b657 07/01/2014 04:37 PM Renato Botelho

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...

4aea91d8 12/14/2013 07:20 PM Ermal LUÇI

Switch to php-fpm for lighty and check_reload_status will use it. Step by step will migrate the other calls

33a33c3e 02/11/2013 02:02 PM Jim Pingle

Use the same tcpdump command here that we use from the GUI, to avoid potential mismatch of info/errors.

e6702447 12/05/2012 02:52 AM Jim Pingle

Unbreak console menu

649f13fc 12/04/2012 07:09 PM Jim Pingle

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

6c6f9253 08/14/2012 04:11 PM Jim Pingle

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.)

133bd2b2 12/01/2011 03:28 PM Jim Pingle

Add the config history restore script to the console menu.

7734aea6 08/17/2011 02:15 AM Andrew Thompson

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.

c3ebb669 07/04/2011 06:48 PM Scott Ullrich

Launch running script as well

32cd7c36 07/04/2011 02:41 AM Scott Ullrich

Add rc.local.running if rc.local is running so it can reattach after a console logout

a32c7a23 07/03/2011 06:28 PM Scott Ullrich

Fix copy and pasto

5f8e5e14 07/03/2011 06:27 PM Scott Ullrich

Launch rc.local into &

2ba6c4ab 07/03/2011 02:41 AM Scott Ullrich

Remove $id. Bump (C) date

9c98ee85 07/03/2011 02:40 AM Scott Ullrich

If rc.local exists launch it

4d0a1ade 12/18/2010 03:44 AM Scott Ullrich

Echo out newline

6141561c 12/17/2010 03:53 PM Scott Ullrich

Add newline after 99 menu option. Otherwise it looks very strange.

ec3e48f1 12/09/2010 07:03 PM Jim Pingle

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.

8d5b8c20 12/06/2010 11:58 PM Scott Ullrich

it's 2010, update (C)

2db9a6d6 12/06/2010 11:43 PM Scott Ullrich

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

f73be85c 06/01/2010 10:13 PM Ermal LUÇI

Use sockstat, netstat might take to long under certain circumstances.

651e77c6 06/01/2010 04:50 PM Jim Pingle

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.

d1f9da0a 11/07/2009 01:24 AM Scott Ullrich

Nuke old dev bootstrap code that is no longer in use

2580f584 11/02/2009 09:41 AM Chris Buechler

remove unnecessary cat

92c5013c 09/22/2009 10:51 PM Scott Ullrich

Axe the s in developers. Capitalize accordingly. Suggested by JimP

3f64051e 09/22/2009 10:47 PM Scott Ullrich

Rename PHP Shell to developers shell

92a5e926 08/26/2009 01:45 PM Renato Botelho

Revert "Use php to detect product name on shell scripts"

This reverts commit 07881462254d007cf77c1a5b09e7a840f708657e.

07881462 08/03/2009 07:52 PM Renato Botelho

Use php to detect product name on shell scripts

a0368e6c 06/16/2009 03:57 PM Scott Ullrich

Add a few more *'s so that rebrands look OK

01cdef6c 05/18/2009 11:19 PM Scott Ullrich

Missing "

49a0eba8 05/18/2009 11:19 PM Scott Ullrich

Doh, it's sh, not php

2bc1456b 05/18/2009 11:18 PM Scott Ullrich

Do not keep respawning to shell on exit. Alert box is rebooting in 5, sleep for 5 to allow CTRL-C

3ec9c84a 05/18/2009 10:58 PM Scott Ullrich

Use custom prompt for Recovery Shell

a9e92f60 05/18/2009 01:39 AM Scott Ullrich

Spawn tcsh instead of sending getty into a DOS loop

e4fcf99b 05/17/2009 03:12 AM Scott Ullrich

Add missing space

15bb64e4 05/16/2009 01:18 AM Scott Ullrich

Exit out to shell immediately if recovery console shell option specified.

3d7639eb 03/24/2009 07:30 PM Scott Ullrich

Add hideplatform directive useful for rebranding

19525ae7 10/26/2008 08:43 PM Scott Ullrich

Use $g['product_name']

6c7aa8d8 08/30/2008 05:12 AM Scott Ullrich

Spelling correction

2a5a9c6a 08/30/2008 04:24 AM Scott Ullrich
  • Output if SSH is enabled
  • Kill SSH server but leave open ssh sessions
916c5001 07/13/2008 09:21 PM Scott Ullrich

Remote last_term_seen variable. It's not in use and was debugging only.

While here, cleanup the identing mess.

5813dd60 07/13/2008 09:04 PM Scott Ullrich

Allow new terminals to update last_term_seen even if they are not root.

069f9bae 02/22/2008 12:35 AM Scott Ullrich

Adding script to allow enabling / disabling of SSHD from console menu.

d2d1f8ce 02/22/2008 12:01 AM Scott Ullrich

Change LAN ip to interface ip.

8a9caa98 11/12/2007 11:42 AM Seth Mos

Reference correct file for upgrade from console.

9579868f 10/16/2007 11:54 PM Bill Marquette

Ticket #1427 - webConfigurator is a better choice, it is used everywhere else

5ad936b6 10/16/2007 11:51 PM Bill Marquette

Ticket #1427 - use webGUI instead of webConfigurator

4f1fbb19 06/03/2007 08:50 PM Scott Ullrich

Reset terminals on blank input which could be a console reload war between some kind of strange "new spawned console".

47944c7c 05/01/2007 10:23 PM Scott Ullrich

Launch file correctly

f4feb493 05/01/2007 09:56 PM Scott Ullrich

Add firmware update menu option which can fetch a URL from the internet or use a already fetched file from the file system.

3c2972b3 04/29/2007 11:57 PM Scott Ullrich

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.

e8b82b81 03/02/2007 05:32 PM Scott Ullrich

ctrl-c is handy in the shell. Do not lock out.

4b7cf204 10/01/2006 05:03 PM Scott Ullrich

Uncomment the trap statements. Now CTRL-C will kill the SSH session.

2bccfcdb 09/19/2006 10:28 PM Scott Ullrich

Allow CTRL-C, CTRL-Z on console, etc.

45e38645 09/17/2006 06:47 AM Scott Ullrich

Add (y/n) hint

2c05cc10 09/17/2006 06:45 AM Scott Ullrich

Explain to the user that the developer bootstrap process populates /usr/src, etc.

f321b3a2 08/07/2006 03:07 AM Scott Ullrich

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.

6a997de8 07/01/2006 09:56 PM Scott Ullrich

Restore previous rc.banner behavior.

d8d46c26 07/01/2006 08:05 PM Scott Ullrich

Move sleep statement to do loop when option entered is ""

Helps work around - Ticket #1021

4c7856cf 06/25/2006 02:01 AM Scott Ullrich

Move sleep outside of the menu loop

bcdc9496 06/21/2006 07:24 PM Scott Ullrich

Increase the sleep time to counteract the tty respawn bug that is slowing down everything else since its basically fork bombing.

dc7e008c 06/09/2006 11:25 PM Scott Ullrich

Add option #12 show interface info

ca1f0641 06/07/2006 12:54 AM Scott Ullrich
  • Only run rc.banner when you first login
  • Improve CTRL-C message
c1b3f102 05/11/2006 09:26 PM Scott Ullrich

Back out last commit. Restore CTRL-C behavior.

b7ac175c 04/29/2006 09:28 PM Scott Ullrich

Do not trap on rc.inital menu

029b7cf7 04/21/2006 01:27 AM Scott Ullrich

webGUI -> webConfigurator

11142055 04/17/2006 04:28 PM Scott Ullrich

Remove option 12. It doesn't work on Embedded.

e15abfed 04/13/2006 07:30 PM Scott Ullrich

Add option 13 to change keyboard mapping for our friends across the pond

74283bbb 04/08/2006 10:11 PM Scott Ullrich

Explain that the tailing process will exit when developer bootstrap is completed.

f6db5a83 04/08/2006 10:08 PM Scott Ullrich

Explain what the development bootstrap process is doing and what to expect

d223f533 04/08/2006 07:02 PM Scott Ullrich

If a bootstrap is in progress, offer to the user the ability to tail its progress on the console

7c961207 03/13/2006 06:57 AM Scott Ullrich

If we encounter the job control bug then bail (logout)

ef5ebb35 03/03/2006 11:43 PM Scott Ullrich

Traffic -> Filter for consistency with webConfigurator

892c4893 02/26/2006 08:52 PM Scott Ullrich

Don't sleep for 1

2c69c9f7 01/01/2006 12:24 AM Scott Ullrich

^ then

0b6c7bce 01/01/2006 12:05 AM Scott Ullrich
  • Touch /tmp/config_moved after config move
  • Do not run option 98 twice after config move
b99acdb9 12/31/2005 08:17 PM Scott Ullrich

Run echo `tty` > /tmp/last_term_seen on startup

55305a59 12/22/2005 07:14 PM Scott Ullrich

Remove set prompt and vidcontrol directives

bb8deb4a 11/29/2005 05:52 AM Scott Ullrich

Add menu option 11 text

8b52f644 11/29/2005 05:48 AM Scott Ullrich

Add option 11 - restart webgui

edcffdf5 11/11/2005 09:57 PM Scott Ullrich

Send errors to the bit bucket

3c2b10ad 11/10/2005 02:00 AM Scott Ullrich

Switch to vty0 when user enters option 8

223d7e54 11/04/2005 06:38 PM Scott Ullrich

Carriage return before menu.

d5bdb230 11/02/2005 07:00 PM Scott Ullrich

Remove extra \n

c26023b4 10/08/2005 09:41 PM Scott Ullrich

If a usb keyboard is detected, start installer with a cons25 console type

4d28b3ec 10/02/2005 12:26 AM Scott Ullrich

Only show option 98 if config.xml does not reside on a removable device and a msdos formatted device is present

0f499d64 10/01/2005 11:55 PM Scott Ullrich

Correct the filename

9eb7a7b4 10/01/2005 11:36 PM Scott Ullrich

Reverse option 98 and 99

3e2a20cf 10/01/2005 11:26 PM Scott Ullrich
  • Correctly detect detected devices capable of config.xml
  • Sym link /conf too
0b6163bd 10/01/2005 11:06 PM Scott Ullrich

Add script that aides in creating a config.xml file on a removable device. Note that this is not fully working just yet.

8affb1da 09/14/2005 07:30 PM Scott Ullrich

Do not disable console in rc.initial. We are changing the behavior to turn off autologin.

In-discussion-with: cmb
Provoked-by: Yet another complaint about old behavior

75c72ffb 09/13/2005 09:11 PM Scott Ullrich

Echo before command prompt

f446f817 09/13/2005 06:05 PM Scott Ullrich

Modify installer to be invoked from option 99

68c50bd1 08/11/2005 10:15 PM Scott Ullrich

Revert commit

19377cca 08/11/2005 10:10 PM Scott Ullrich

Do not attempt to launch the installer if the script does not exist (already installed).

73de2be1 08/11/2005 10:07 PM Scott Ullrich

Do not attempt to launch the installer if the script does not exist (already installed).

751bde2e 07/21/2005 01:43 AM Scott Ullrich

Add back ) ... DOH!

1bc85001 07/21/2005 01:36 AM Scott Ullrich

RIP full C installer. We're now switching over to the BSD Installer 2.0