Projet

Général

Profil

Télécharger (3,73 ko) Statistiques
| Branche: | Tag: | Révision:

univnautes / etc / rc.initial @ a94b9bef

# Date Auteur Commentaire
a94b9bef 22 août 2014 15:53 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

b6a7a5a9 22 août 2014 13:27 Chris Buechler

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

33a33c3e 11 février 2013 15:02 jim-p

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

e6702447 05 décembre 2012 03:52 jim-p

Unbreak console menu

649f13fc 04 décembre 2012 20:09 jim-p

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 14 août 2012 18:11 jim-p

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 01 décembre 2011 16:28 jim-p

Add the config history restore script to the console menu.

7734aea6 17 août 2011 04:15 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 04 juillet 2011 20:48 Scott Ullrich

Launch running script as well

32cd7c36 04 juillet 2011 04:41 Scott Ullrich

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

a32c7a23 03 juillet 2011 20:28 Scott Ullrich

Fix copy and pasto

5f8e5e14 03 juillet 2011 20:27 Scott Ullrich

Launch rc.local into &

2ba6c4ab 03 juillet 2011 04:41 Scott Ullrich

Remove $id. Bump (C) date

9c98ee85 03 juillet 2011 04:40 Scott Ullrich

If rc.local exists launch it

4d0a1ade 18 décembre 2010 04:44 Scott Ullrich

Echo out newline

6141561c 17 décembre 2010 16:53 Scott Ullrich

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

ec3e48f1 09 décembre 2010 20:03 jim-p

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 07 décembre 2010 00:58 Scott Ullrich

it's 2010, update (C)

2db9a6d6 07 décembre 2010 00:43 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 02 juin 2010 00:13 Ermal

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

651e77c6 01 juin 2010 18:50 jim-p

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 07 novembre 2009 02:24 Scott Ullrich

Nuke old dev bootstrap code that is no longer in use

2580f584 02 novembre 2009 10:41 Chris Buechler

remove unnecessary cat

92c5013c 23 septembre 2009 00:51 Scott Ullrich

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

3f64051e 23 septembre 2009 00:47 Scott Ullrich

Rename PHP Shell to developers shell

92a5e926 26 août 2009 15:45 Renato Botelho

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

This reverts commit 07881462254d007cf77c1a5b09e7a840f708657e.

07881462 03 août 2009 21:52 Renato Botelho

Use php to detect product name on shell scripts

a0368e6c 16 juin 2009 17:57 Scott Ullrich

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

01cdef6c 19 mai 2009 01:19 Scott Ullrich

Missing "

49a0eba8 19 mai 2009 01:19 Scott Ullrich

Doh, it's sh, not php

2bc1456b 19 mai 2009 01:18 Scott Ullrich

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

3ec9c84a 19 mai 2009 00:58 Scott Ullrich

Use custom prompt for Recovery Shell

a9e92f60 18 mai 2009 03:39 Scott Ullrich

Spawn tcsh instead of sending getty into a DOS loop

e4fcf99b 17 mai 2009 05:12 Scott Ullrich

Add missing space

15bb64e4 16 mai 2009 03:18 Scott Ullrich

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

3d7639eb 24 mars 2009 20:30 Scott Ullrich

Add hideplatform directive useful for rebranding

19525ae7 26 octobre 2008 21:43 Scott Ullrich

Use $g['product_name']

6c7aa8d8 30 août 2008 07:12 Scott Ullrich

Spelling correction

2a5a9c6a 30 août 2008 06:24 Scott Ullrich
  • Output if SSH is enabled
  • Kill SSH server but leave open ssh sessions
916c5001 13 juillet 2008 23:21 Scott Ullrich

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

While here, cleanup the identing mess.

5813dd60 13 juillet 2008 23:04 Scott Ullrich

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

069f9bae 22 février 2008 01:35 Scott Ullrich

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

d2d1f8ce 22 février 2008 01:01 Scott Ullrich

Change LAN ip to interface ip.

8a9caa98 12 novembre 2007 12:42 Seth Mos

Reference correct file for upgrade from console.

9579868f 17 octobre 2007 01:54 Bill Marquette

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

5ad936b6 17 octobre 2007 01:51 Bill Marquette

Ticket #1427 - use webGUI instead of webConfigurator

4f1fbb19 03 juin 2007 22:50 Scott Ullrich

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

47944c7c 02 mai 2007 00:23 Scott Ullrich

Launch file correctly

f4feb493 01 mai 2007 23:56 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 30 avril 2007 01:57 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 02 mars 2007 18:32 Scott Ullrich

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

4b7cf204 01 octobre 2006 19:03 Scott Ullrich

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

2bccfcdb 20 septembre 2006 00:28 Scott Ullrich

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

45e38645 17 septembre 2006 08:47 Scott Ullrich

Add (y/n) hint

2c05cc10 17 septembre 2006 08:45 Scott Ullrich

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

f321b3a2 07 août 2006 05:07 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 01 juillet 2006 23:56 Scott Ullrich

Restore previous rc.banner behavior.

d8d46c26 01 juillet 2006 22:05 Scott Ullrich

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

Helps work around - Ticket #1021

4c7856cf 25 juin 2006 04:01 Scott Ullrich

Move sleep outside of the menu loop

bcdc9496 21 juin 2006 21:24 Scott Ullrich

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

dc7e008c 10 juin 2006 01:25 Scott Ullrich

Add option #12 show interface info

ca1f0641 07 juin 2006 02:54 Scott Ullrich
  • Only run rc.banner when you first login
  • Improve CTRL-C message
c1b3f102 11 mai 2006 23:26 Scott Ullrich

Back out last commit. Restore CTRL-C behavior.

b7ac175c 29 avril 2006 23:28 Scott Ullrich

Do not trap on rc.inital menu

029b7cf7 21 avril 2006 03:27 Scott Ullrich

webGUI -> webConfigurator

11142055 17 avril 2006 18:28 Scott Ullrich

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

e15abfed 13 avril 2006 21:30 Scott Ullrich

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

74283bbb 09 avril 2006 00:11 Scott Ullrich

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

f6db5a83 09 avril 2006 00:08 Scott Ullrich

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

d223f533 08 avril 2006 21:02 Scott Ullrich

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

7c961207 13 mars 2006 07:57 Scott Ullrich

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

ef5ebb35 04 mars 2006 00:43 Scott Ullrich

Traffic -> Filter for consistency with webConfigurator

892c4893 26 février 2006 21:52 Scott Ullrich

Don't sleep for 1

2c69c9f7 01 janvier 2006 01:24 Scott Ullrich

^ then

0b6c7bce 01 janvier 2006 01:05 Scott Ullrich
  • Touch /tmp/config_moved after config move
  • Do not run option 98 twice after config move
b99acdb9 31 décembre 2005 21:17 Scott Ullrich

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

55305a59 22 décembre 2005 20:14 Scott Ullrich

Remove set prompt and vidcontrol directives

bb8deb4a 29 novembre 2005 06:52 Scott Ullrich

Add menu option 11 text

8b52f644 29 novembre 2005 06:48 Scott Ullrich

Add option 11 - restart webgui

edcffdf5 11 novembre 2005 22:57 Scott Ullrich

Send errors to the bit bucket

3c2b10ad 10 novembre 2005 03:00 Scott Ullrich

Switch to vty0 when user enters option 8

223d7e54 04 novembre 2005 19:38 Scott Ullrich

Carriage return before menu.

d5bdb230 02 novembre 2005 20:00 Scott Ullrich

Remove extra \n

c26023b4 08 octobre 2005 23:41 Scott Ullrich

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

4d28b3ec 02 octobre 2005 02:26 Scott Ullrich

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

0f499d64 02 octobre 2005 01:55 Scott Ullrich

Correct the filename

9eb7a7b4 02 octobre 2005 01:36 Scott Ullrich

Reverse option 98 and 99

3e2a20cf 02 octobre 2005 01:26 Scott Ullrich
  • Correctly detect detected devices capable of config.xml
  • Sym link /conf too
0b6163bd 02 octobre 2005 01:06 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 14 septembre 2005 21:30 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 13 septembre 2005 23:11 Scott Ullrich

Echo before command prompt

f446f817 13 septembre 2005 20:05 Scott Ullrich

Modify installer to be invoked from option 99

68c50bd1 12 août 2005 00:15 Scott Ullrich

Revert commit

19377cca 12 août 2005 00:10 Scott Ullrich

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

73de2be1 12 août 2005 00:07 Scott Ullrich

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

751bde2e 21 juillet 2005 03:43 Scott Ullrich

Add back ) ... DOH!

1bc85001 21 juillet 2005 03:36 Scott Ullrich

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

5e732d08 19 juillet 2005 00:32 Scott Ullrich

Clarify how to start the installer

fc1c20c4 21 juin 2005 01:08 Scott Ullrich

Remove installer.lua echo but keep option intact to minimize error reports for a known non working installer

a5a2cf5f 20 juin 2005 19:16 Scott Ullrich

Remove top *** banner