summaryrefslogtreecommitdiffstats
path: root/etc/inc/util.inc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ↵Scott Ullrich2009-08-241-0/+24
|\ | | | | | | | | | | | | git://rcs.pfsense.org/pfsense/techneck-auto_interface into review/master Conflicts: etc/inc/config.inc
| * Adds automated interface setup + sshd for installation only.Tim Allender2009-07-171-1/+25
| |
* | Minor header touchupsScott Ullrich2009-08-231-2/+4
| |
* | Merge alias_expand_value and filter_generate_aliases this makes the more ↵Ermal Luçi2009-07-231-33/+0
| | | | | | | | sense from functionality. This removes alias_expand_value function as it is not needed in new world order.
* | * Cleanup the mess that is reflection. Basically refactor the reflection ↵Ermal Luçi2009-07-231-43/+18
|/ | | | | | | code into its own function and cleanup some code. * Remove alias_expand_{host,net} and fix the alias_expand_value to confirm to the new alias neting 'standards' * Use trhoughout the code the new macros and do not expand all of them again(basically speed improvement)
* needs to be a global nowScott Ullrich2009-07-151-0/+1
|
* needs to be a global nowScott Ullrich2009-07-151-0/+1
|
* Do not allow muting of serial + full installScott Ullrich2009-07-151-0/+2
|
* Do not allow muting of a serial console. The kernel gets very cranky and ↵Scott Ullrich2009-07-151-4/+11
| | | | dishes cannot control tty errors
* Include only .inc files. This fixes issues with packages that this function ↵Ermal Luçi2009-07-091-1/+1
| | | | is really used.
* Add missing /Scott Ullrich2009-07-011-1/+1
|
* * Reorganize the 'apply' button infrustructure in the GUI.Ermal Luçi2009-06-301-1/+26
| | | | | | - Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals. - Convert all pages to the new infrustructure - This improves a lot the control on this notification
* If the value is 0 we are not a valid key. Return.Scott Ullrich2009-06-271-1/+1
|
* Remove hard line break.Scott Ullrich2009-06-271-2/+1
|
* Supress sem_ errors.Scott Ullrich2009-06-271-1/+6
|
* * Move functions that output html to guiconfig.incErmal Luci2009-06-181-0/+13
| | | | | | | | | * Remove some recursive dependency on some includes * Remove ^M or \r from files * Remove some entries from functions.inc to avoid including them twice * Remove some unneccessary includes from some files NOTE: There is some more work to be done for pkg-utils.inc to be removed from backend as a dependency.
* Now that vlans have different name correct regex.Ermal Luçi2009-06-151-1/+1
|
* Oops, plip was already there, at the bottom.Scott Ullrich2009-06-011-2/+1
|
* Add plip exclusionScott Ullrich2009-06-011-13/+14
|
* Hide error.Scott Ullrich2009-05-281-0/+2
|
* Do not spam the logs. Reported by ↵Ermal Luçi2009-05-221-1/+1
| | | | http://forum.pfsense.org/index.php/topic,16382.0.html.
* Move Sync of config from filter.inc filter_reload to write_config and all ↵Ermal Luçi2009-05-221-0/+7
| | | | the code in a new file rc.filter_synchronize. The later is called by check_reload_status with the tmp/filter_sync action triggered with carp_sync_client() function. This solves the excessive syncing of configs on not needed cases and speedups the filter_configure_sync!
* Make CP multi-interface capable.Ermal Luçi2009-05-211-2/+1
|
* Rely on our own error handlingScott Ullrich2009-05-161-14/+21
|
* More var name fixes.Ermal Luçi2009-05-081-1/+1
|
* Make it work.Ermal Luçi2009-05-081-4/+4
|
* * Create two new functions lock($subsystem)/unlock() to have more reliable ↵Ermal Luçi2009-05-081-13/+53
| | | | | | | | | | | locking using semaphores. This function can sleep till the resource is free and can help find not well behaving code. * Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this. If any sybsytem wants to lock can do so with its own lock. * Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant. This compenstates for the removal of lock aquiring from the scripts/pages. * config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
* Move validation of dyndns username to the only place it uses it, the GUI ↵Ermal Luçi2009-05-071-11/+0
| | | | page. There it makes sense. While there add ':' character to allow NO-ip subaccounts.
* Move exec_command function to util.inc.Ermal Luçi2009-05-051-0/+16
|
* * Shuffle functions around to reduce require_once() a little.Ermal Luçi2009-04-291-0/+172
|
* * Move other functions around to where it makes sense.Ermal Luçi2009-04-261-2/+8
| | | | | * Reduce somewhat require_once() overhead by removing the includes from gwlb.inc they are not needed. Some more analysis is needed on the include path
* Add function which returns the list of interfaces by realif index.Ermal Luçi2009-03-261-0/+33
|
* Show dmesg interface names when first configuring the networkSeth Mos2009-03-101-0/+4
|
* Return interface names in capsScott Ullrich2009-03-091-1/+1
|
* Restore interface ordering to mimic 1.2Ermal Luçi2009-03-091-9/+25
| | | | Requested-by: Scott
* Change this to simple greps for some reason kldstat options do not work on ↵Ermal Luçi2009-03-081-1/+1
| | | | bootup!
* Correctly detect processes pid's.Ermal Luçi2009-03-081-1/+1
|
* * Do not restart ipfw-classifyd on every iteration just send a signal to ↵Ermal Luçi2009-03-081-1/+9
| | | | | | | reload the config. This way no data is lost * Some cleanups to fix warning/spamming of the System logs * Present is_module_loaded() function to check if a module is loaded.
* Revert "Merge IPv6 changes"Chris Buechler2009-02-151-44/+20
| | | | This reverts commit f193cf92b2c925a2f3f71a713d766efd1e4d81e0.
* Merge IPv6 changesSimon Cornelius P. Umacob2009-01-201-20/+44
|
* Re-enable the log_error when a command fails.Seth Mos2009-01-161-2/+2
| | | | This function accepts a mute flag of false or true. Please use it.
* log mwexec if developerspew is onChris Buechler2008-12-071-0/+2
|
* Do not spam logsScott Ullrich2008-11-071-2/+2
|
* surpress kill outputSeth Mos2008-11-061-2/+1
|
* Surpress killall messagesSeth Mos2008-11-061-1/+1
|
* Add mute argument to mwexecSeth Mos2008-11-021-2/+2
|
* Correct var types.Seth Mos2008-11-021-9/+10
| | | | Add debugging for command execution and log errors when command does not return 0 (succes)
* Import format_bytes() from m0n0wallScott Ullrich2008-08-231-1/+13
|
* If anybody needs plip(4) notify me!Ermal Luçi2008-08-051-1/+2
|
* Black list lagg.Ermal Luçi2008-07-251-1/+2
|
OpenPOWER on IntegriCloud