Projet

Général

Profil

Télécharger (12,4 ko) Statistiques
| Branche: | Tag: | Révision:

univnautes / etc / rc @ 1a7ed9d0

# Date Auteur Commentaire
1a7ed9d0 20 juin 2014 21:14 Adam Gibson

Don't use pfsense name in comment

05b69065 20 juin 2014 20:53 Adam Gibson

Use $product instead of pfSense when logging the version to syslog

01deca6a 14 juin 2014 08:52 Adam Gibson

Log pfsense version to syslog after bootup

52398a6b 30 mai 2014 20:15 jim-p

Bring in proper gmirror support for the GUI and notifications.
Made a general gmirror library to perform various gmirror tasks and get information, using some of the former widget logic to start. Updated widget to use this new code.
Added a Diag > GEOM Mirrors page that displays information about existing mirrors and perform various management tasks. Current actions include rebuilding a drive, forgetting disconnected mirror drives, insert/remove, deactivate/activate, clearing medatada. It's now possible to use the GUI to rebuild a failed mirror by performing a forget, then insert action to replace a missing/dead drive....

f5813962 05 mai 2014 15:20 Renato Botelho

Sometimes fsck requires a second run, teach rc script to call it more than once when it's necessary

2a50fd8a 28 avril 2014 16:54 Renato Botelho

Move clog from /usr to /usr/local

302c005e 17 avril 2014 22:19 Ermal

Unload the ZFS module if its not in use to not consume uselss memory

05dd0c32 14 avril 2014 17:13 Ermal

Use the FreeBSD script for ldconfig to catch all libs

e61f548f 14 avril 2014 15:06 Ermal

Get rid of embedded platform. Its time to GC this

291e0a1c 31 mars 2014 16:42 jim-p

Remove TRIM_set and TRIM_unset support. This method isn't very elegant and isn't necessary in the long run. It's better handled in the installer stage and not after the fact.

9c3b8c6e 15 mars 2014 02:12 Chris Buechler

fix typo

c7a3356e 26 décembre 2013 21:27 jim-p

Add a setting to allow the user to specify the clog file size so more (or less) entries may be kept in the raw logs. Retain previous default size values if the user has not specified a preferred size. Files can only be resized when initialized, so provide a "Reset All Logs" button as well to force clear all logs and set them up at the new size.

5551d818 24 décembre 2013 16:04 Renato Botelho

Remove /var/run/booting early to be consistent with $g['booting']

1590947b 15 décembre 2013 20:11 Ermal

Call all php scripts in bootup with fcgicli. For rc.bootup only the part needing input needs to be abstracted

4aea91d8 14 décembre 2013 20:20 Ermal

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

5aa68a55 28 juillet 2013 15:31 Renato Botelho

Fix #3113, fix multiple english spell errors s/seperet/separat/

1a8b561c 30 avril 2013 18:58 rbgarga

Merge pull request #608 from evansus/master

Merge commit to correct debugging issue

b0307435 30 avril 2013 17:53 Evan Susarret

correct debug issue

Accidentally changed this from executing the zfs command to echoing the
expected command in previous commits.
This had been set while debugging a better command to set ZFSROOT
variable.

0d0cda18 30 avril 2013 17:32 rbgarga

Merge pull request #602 from evansus/patch-1

ZFSROOT not hardcoded to zpool or dataset 'tank'

ac62a50d 29 avril 2013 10:46 Ermal

Do not force the check to avoid garbling filesystems. Also be specific to check / filesystem and /cf on nano platform since the others will be checked on php code

c56caf59 28 avril 2013 12:43 Evan Susarret

Use 'zfs mount' to get ZFSROOT dataset

using just zfs, grep, and cut, with a simple regexp

98304a92 24 avril 2013 11:18 Evan Susarret

ZFSROOT not hardcoded to zpool or dataset 'tank'

For ZFS root readonly case, the WHEREISROOT variable was grep-ing for 'tank', expecting a zpool with that name.

A workaround of naming a dataset 'tank', for example, 'sys/ROOT/tank' or 'sys/tank/pfSense' is compatible, however this shouldn't be hardcoded in....

b6a63312 08 avril 2013 19:34 jim-p

Don't try to make /var/run a RAM disk if /var is already a RAM disk.

730790dd 05 avril 2013 20:25 Renato Botelho

Only check tunefs status when it's necessary, it avoids errors on iso boot. Fixes #2932

efc0e29a 12 mars 2013 18:59 jim-p

Move tmp/var init to just after mount of /cf so that the sizing works properly on NanoBSD. Fix input validation for sizes. Add note about needing a reboot to apply the settings.

e92e83d4 12 mars 2013 03:16 jim-p

Add the ability for full installs to optionally use RAM disks for /tmp and /var, and to allow selecting a size for /tmp and /var RAM disks on both Full installs and NanoBSD.
I think I caught most of the edge cases for transitioning into and out of RAM disk mode, and preserving data across reboots as is done on NanoBSD (RRD, DHCP leases, pkg/pbi info).

990fa101 03 février 2013 03:36 jim-p

Add a means to force a fsck (on rare occasions the fs is not marked dirty, but still needs fsck run to fix errors)

2085c6de 03 février 2013 03:30 jim-p

Add a manual way for someone to set TRIM if they really want it. touch /root/TRIM_set and reboot to set, touch /root/TRIM_unset to clear.
Have to reboot after setting the tunefs flag or when mount is run, it clears any changes. No way to do it on the fly.

24450773 06 décembre 2012 16:55 Ermal

Cleanup the php session data.

080b4ce1 22 novembre 2012 10:17 Ermal

Create these dirs earlier rather than later to avoid the errors reported on http://forum.pfsense.org/index.php/topic,55998.0.html

7d3be92f 20 novembre 2012 17:42 Ermal

Honor /var/run path specified in globals.inc. Probably this needs a bit better handling

775130e7 20 novembre 2012 17:34 Ermal

Remove openvpn setups since they do not belong here. Also check before removing newsyslog.conf

4b1497d0 20 novembre 2012 17:26 Ermal

Remove sasyncd related code from rc

12aeb58f 20 novembre 2012 17:26 Ermal

Remove newsyslog.conf seems its responsible for overrideing ppp.log and gives warnings on bootup

9e9bc51c 20 novembre 2012 17:22 Ermal

Remove all previous configurations stored on /var/etc during a bootup to avoid confusion

2f8782fe 26 mai 2012 09:28 smos

More validation for ejecting CDrom devices for 3G sticks, needs extra manufacturers. Less typos in variable names also helps a lot.

793d3c96 20 mai 2012 20:01 smos

Attempt to Eject the CD device on 3G sticks for Huawei and ZTE devices.

e0c45357 01 mai 2012 22:00 jim-p

Move routing (radvd, routed, ospf, bgp) to its own log since these daemons can be really spammy at times.

152c18f0 18 avril 2012 08:29 Phil Davis

Store PBIs in /root/var/db/pbi so they persist across reboots.
Keep the existing code for old-style PKG packages in case users on 2.1 are doing anything with PKG packages by hand. In theory all proper package installs on pfSense 2.1 (FreeBSD 8.3) should use PBIs.

e0977fed 29 mars 2012 12:20 smos

Move some of the log file tabs around.
Add seperate tabs for dnsmasq,unbound as well as gateways.

71bdd226 13 mars 2012 14:00 Warren Baker

Rather make use of grep -c than all these pipes

973b2663 12 mars 2012 11:55 Ermal

Simplify this code a little and make it easily extendible.

06fd1952 12 mars 2012 11:34 Ermal

check for presense of file before trying to exec it

e8197e56 12 mars 2012 11:32 Ermal

Do not wipe logs on reboot on full install

92ac3b3d 30 janvier 2012 22:24 jim-p

Add a small script to disable APM on ATA drives if they claim to support it. Leaving this on will kill drives long-term, especially laptop drives, by generating excessive Load Cycles.
The APM bit set will persist until the drive is power cycled, so it's necessary to run on each boot to be sure.

b3e15d1b 01 octobre 2011 02:04 jim-p

Add missing s

689eaa4d 01 octobre 2011 01:57 jim-p

Move hostapd to its own log and tab, so it stops spamming the system log.

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.

01656166 25 juillet 2011 17:01 jim-p

Run on CD-ROM, too, it should be writable after rc.cdrom

ca3537ba 25 juillet 2011 16:58 jim-p

Sync password database right after mount, in case it is corrupt. (Except on CD-ROM platform).

aa840cf9 18 juillet 2011 01:55 Scott Ullrich

Redirect errors to file

01599e5e 24 juin 2011 21:05 Ermal

Remove nohup from the calling for check_reload_status since it may cause issues to the processes that get forked from it.

490615d3 21 juin 2011 18:08 Scott Ullrich

Add custom boot early hook

36653869 10 mars 2011 09:55 Erik Fonnesbeck

Remove extra unmatched conf_mount_ro for a potential race condition preventing writes when generating ssh keys in the background. Ticket #673

6c67a28d 23 février 2011 18:36 jim-p

Set PKG_TMPDIR for embedded/nano because it will fill up /var trying to download packages otherwise. (From sullrich)

e5323cca 26 janvier 2011 18:42 jim-p

Run dumpon earlier, split dumpon/ddb from savecore and run savecore later.

c3a56ba9 25 janvier 2011 23:02 jim-p

Add support for dumpon/savecore to run on full installs.

3b39d0ac 25 janvier 2011 23:02 jim-p

Whitespace fix

df40aa86 18 décembre 2010 21:43 Scott Ullrich

Be less chatty

416e6432 30 novembre 2010 18:17 Ermal

Use fullpath

fb2e53da 30 novembre 2010 14:40 jim-p

Run ecl through php instead of executing directly.

690d24af 29 novembre 2010 01:04 Scott Ullrich

Add pfSsh.php externalconfiglocator playback script

206f684d 28 novembre 2010 20:03 Scott Ullrich

Adding external configuration loader which will look on all found disks except bootup disk for config.xml. If tconfig.xml is found on an external disk then it tests the roobobj to ensure its a valid file then calls test_config() to ensure it is a valid xml file. Once the file is validated a backup_config() is called to backup the current configuration and finally the file is installed using restore_backup()

7f8d463f 10 novembre 2010 19:43 Ermal

Bring interfaces up only if there is a mismatch to allow them to be reassigned.

72993196 02 novembre 2010 22:16 Ermal

Protect from strange situations on bootup by testing for is_array(). Do not add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!).

a6607b5f 02 novembre 2010 20:14 jim-p

More VPN log fixes, for consistency. Ticket #912

8ad39798 19 septembre 2010 22:33 Scott Ullrich

Update (C)

64183253 19 septembre 2010 22:31 Scott Ullrich

Ensure /etc/gettytab is of a sane size and restore from backup + log if it is not

bc0fd36f 16 septembre 2010 19:27 Ermal

Do not suck in the file but actually execute it.

41fb483a 08 septembre 2010 19:02 Ermal

Correct typo in file name. Also do not delete users just expire them.

e8d0903d 08 septembre 2010 18:45 Ermal

Start-up first check_reload_status than call rc.bootup since this is the new world order. This unbreaks booting and removes spurious messages during boot. While here for all binaries use full path for correctnes and avoid any 'strange' issues.

0ae6daf8 07 septembre 2010 21:36 Ermal

Use the new events mechanisms to dispatch events.

6bc46900 15 août 2010 20:12 Scott Ullrich

Only do check on pfSense platform

8a8f51b7 15 août 2010 20:11 Scott Ullrich

Only process items if we can find grep

87db1017 15 août 2010 20:02 Scott Ullrich

Handle ZFS root partition read-only cases

f402729d 15 août 2010 03:13 Scott Ullrich

Do not setup unionfs for /PCBSD

b1f4d7d4 24 juillet 2010 08:02 Chris Buechler

add apinger.log here too to silence error at boot

3fb8caf2 02 juin 2010 01:05 Scott Ullrich

Do not nuke /tmp/ on livecd's

9a31a1ce 28 mai 2010 20:59 Ermal

Make sure to cleanup /tmp before using it. Solves config cache issue as a start.

8ca2c9ab 28 mai 2010 20:56 Ermal

Remove stale code.

8b3a495b 23 mai 2010 06:58 Scott Ullrich

Make installer unionfs

329b7707 22 mai 2010 22:48 Scott Ullrich

Remove unionfs /, will have to come up with a new plan

0fd81918 22 mai 2010 22:30 Scott Ullrich

Use unionfs for /

851f4184 22 mai 2010 03:38 Scott Ullrich

Remove stray done

8022e257 22 mai 2010 02:06 Scott Ullrich

Do not fsck /cf on each bootup

842878b5 22 mai 2010 01:54 Scott Ullrich

Unbreak nanobsd since Ticket #444

ce8efd06 22 mai 2010 01:07 Scott Ullrich

Unbreak nano since ticket #444

69490b55 20 mai 2010 03:19 Scott Ullrich

Handle mounting of extra filesystems correctly. Ticket #444

c4995e62 20 mai 2010 03:08 Chris Buechler

move mount up for cases where /usr and other partitions may be separate, and needed for other things to function

1f0f301c 11 mai 2010 17:05 jim-p

Make /var/run/booting exist for more of the actual booting process. Ticket #53.

257c5205 06 mai 2010 01:18 Scott Ullrich

Revert last commit .. This might not work on Nano

d8d5e511 06 mai 2010 01:14 Scott Ullrich

Use mount -a instead of -uw Ticket #444

3da49dc3 29 mars 2010 13:10 Ermal

Fix file names.

328efaba 23 mars 2010 23:13 Ermal

Use the -s ident option of mpd to send the logs for the PPPoE/PPTP/L2TP servers to syslogs appropriate files. Create the files for these vpn's as for the others. Logs can be viewed in the VPN tab of the system log.

f6ba4bd1 20 mars 2010 00:54 Scott Ullrich

Add alias data url option. This code existed but lacked a backend daemon to update the data every 24 hours. Adding this as well.

295e19dd 26 octobre 2009 06:48 Scott Ullrich

Add PPP logging tab

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

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

This reverts commit 07881462254d007cf77c1a5b09e7a840f708657e.

cd465e06 07 août 2009 02:11 Scott Ullrich

Do not create /root/var/tmp

eb071c7d 07 août 2009 01:49 Scott Ullrich

Only symlink pkg dir

95399b72 07 août 2009 01:46 Scott Ullrich

Reverse link arguments and rm dir