Commit Graph

94 Commits

Author SHA1 Message Date
Scott Ullrich
2e28c9c7d2 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:51 +00:00
Scott Ullrich
cdfff204a8 * Backout last commit * Change the logic a bit by sleeping for 10 seconds after option 2 and then logout and log back in. This works around the strange strange shell issues on serial console. 2007-06-03 01:09:41 +00:00
Scott Ullrich
db6e5348fe Instead of running an endless loop, let the console logout and log back in after a command. This fixes some of the issues on serial console. 2007-06-03 00:34:58 +00:00
Scott Ullrich
24e99fe01c Launch file correctly 2007-05-01 22:24:01 +00:00
Scott Ullrich
741fe28d9f 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:57:13 +00:00
Scott Ullrich
838abde94e 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:15 +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
Scott Ullrich
d223f533d1 If a bootstrap is in progress, offer to the user the ability to tail its progress on the console 2006-04-08 19:02:26 +00:00
Scott Ullrich
7c961207e7 If we encounter the job control bug then bail (logout) 2006-03-13 06:57:11 +00:00
Scott Ullrich
ef5ebb3511 Traffic -> Filter for consistency with webConfigurator 2006-03-03 23:43:07 +00:00
Scott Ullrich
892c489359 Don't sleep for 1 2006-02-26 20:52:51 +00:00
Scott Ullrich
2c69c9f7ae ^ then 2006-01-01 00:24:33 +00:00
Scott Ullrich
0b6c7bced2 * Touch /tmp/config_moved after config move
* Do not run option 98 twice after config move
2006-01-01 00:05:43 +00:00
Scott Ullrich
b99acdb9db Run echo tty > /tmp/last_term_seen on startup 2005-12-31 20:17:14 +00:00
Scott Ullrich
55305a59a2 Remove set prompt and vidcontrol directives 2005-12-22 19:14:55 +00:00
Scott Ullrich
bb8deb4a5f Add menu option 11 text 2005-11-29 05:52:03 +00:00
Scott Ullrich
8b52f644bc Add option 11 - restart webgui 2005-11-29 05:48:58 +00:00
Scott Ullrich
edcffdf548 Send errors to the bit bucket 2005-11-11 21:57:02 +00:00
Scott Ullrich
3c2b10ada0 Switch to vty0 when user enters option 8 2005-11-10 02:00:59 +00:00
Scott Ullrich
223d7e54bc Carriage return before menu. 2005-11-04 18:38:15 +00:00
Scott Ullrich
d5bdb23078 Remove extra \n 2005-11-02 19:00:38 +00:00
Scott Ullrich
c26023b4bb If a usb keyboard is detected, start installer with a cons25 console type 2005-10-08 21:41:13 +00:00
Scott Ullrich
4d28b3ecac Only show option 98 if config.xml does not reside on a removable device and a msdos formatted device is present 2005-10-02 00:26:23 +00:00
Scott Ullrich
0f499d64ca Correct the filename 2005-10-01 23:55:57 +00:00
Scott Ullrich
9eb7a7b4c2 Reverse option 98 and 99 2005-10-01 23:36:15 +00:00
Scott Ullrich
3e2a20cfb9 * Correctly detect detected devices capable of config.xml
* Sym link /conf too
2005-10-01 23:26:27 +00:00
Scott Ullrich
0b6163bdf9 Add script that aides in creating a config.xml file on a removable device. Note that this is not fully working just yet. 2005-10-01 23:06:23 +00:00
Scott Ullrich
8affb1daf6 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
2005-09-14 19:30:12 +00:00
Scott Ullrich
75c72ffb94 Echo before command prompt 2005-09-13 21:11:15 +00:00
Scott Ullrich
f446f81768 Modify installer to be invoked from option 99 2005-09-13 18:05:32 +00:00
Scott Ullrich
68c50bd1ce Revert commit 2005-08-11 22:15:55 +00:00
Scott Ullrich
19377ccaa4 Do not attempt to launch the installer if the script does not exist (already installed). 2005-08-11 22:10:38 +00:00