Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-03-20 | Use 'all' instead of "*" to remove all commandline paraameters. | Victor Lowther | 1 | -2/+2 | |
2008-03-20 | Added easy support to drop all parameters. | Victor Lowther | 1 | -1/+2 | |
Just set DROP_PARAMETERS to "*" | |||||
2008-03-20 | Changed kernel hibernation to use the default kernel method unless overridden. | Victor Lowther | 1 | -1/+1 | |
Hopefully this will get rid of the bug reports where "platform" causes problems. If it does not, we should probably default to "shutdown" as the default method. | |||||
2008-03-19 | Fixups in hook blacklisting and parameter removal. | Victor Lowther | 1 | -2/+3 | |
2008-03-19 | remove_parameters was not doing The Right Thing. | Victor Lowther | 1 | -9/+10 | |
Rewrote parameter removal loop to try and fix that. | |||||
2008-03-19 | Make the hook blacklist and parameter overrides use env. variables. | Victor Lowther | 1 | -26/+23 | |
This came about after a long discussion with mbiebl on the best way to configure settings in pm-utils. | |||||
2008-03-19 | Merge branch 'vlowther-stabilization-bugfixes' into vlowther-default-parameters | Victor Lowther | 1 | -8/+11 | |
Conflicts: pm/pm-functions.in | |||||
2008-03-19 | Added copious commenting in the defaults file. | Victor Lowther | 1 | -4/+8 | |
2008-03-18 | Addind logging to add_parameter and remove_parameter | Victor Lowther | 1 | -1/+5 | |
2008-03-18 | Fix logic error in remove_parameter. | Victor Lowther | 1 | -1/+1 | |
2008-03-18 | Updated /etc/pm/parameters parsing. | Victor Lowther | 1 | -4/+22 | |
Now we can add and remove parameters passed from our invoker. | |||||
2008-03-17 | Add more logging -- log parameters and the hook blacklist. | Victor Lowther | 1 | -4/+4 | |
This patch adds basic logging of our commandline parameters before and after loading the parameter overrides. It also adds logging of our initial blacklist entries. | |||||
2008-03-16 | Consolidated console save/restore code. | Victor Lowther | 1 | -3/+1 | |
Instead of having console switch/restore logic spread out all over the place, have 00clear perform all our console switching. | |||||
2008-03-16 | Fix bug where pm-is-supported could only be run as root. | Victor Lowther | 1 | -3/+8 | |
Now we only parse the blacklist and the default parameters when we are taking the suspend lock. | |||||
2008-03-15 | Mostly seperated vt switching logic from the suspend_lock logic. | Victor Lowther | 1 | -4/+2 | |
This should fix the breakage implemented by moving the locking. | |||||
2008-03-15 | Restore separate logging functionality | Victor Lowther | 1 | -6/+9 | |
Somehow the changes introduced by 1fb77e994d7d1628c86324066693fd23d4abfb6c got dropped in the merge process. Restored them. | |||||
2008-03-15 | Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parameters | Victor Lowther | 1 | -1/+0 | |
2008-03-15 | Merge branch 'master' into vlowther-dynamic-hook-disable | Victor Lowther | 1 | -1/+0 | |
Conflicts: pm/pm-functions.in | |||||
2008-03-14 | Split functions.in into functions.in and pm-functions.in | Victor Lowther | 1 | -0/+131 | |
pm-functions.in contains the functionality that should only be used by the pm-utils frontends (pm-action, pm-is-supported, and pm-powersave). functions.in contains code that is shared between the hooks and the pm-utils frontends. The reason behind splitting this out is to reduce namespace pollution in the hooks and to eventaully make it easier to split the hooks into their own package. | |||||
2008-03-11 | Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parameters | Victor Lowther | 1 | -1/+5 | |
2008-03-11 | Optionally ignore two leading digits in the hook filename in hook_ok | Victor Lowther | 1 | -1/+5 | |
Requested by Michael Biebl. | |||||
2008-03-09 | Added support for passing default parameters. | Victor Lowther | 1 | -0/+13 | |
We add them in the "$PM_UTILS_ETCDIR/parameters" file, and they are simply appended to the PM_CMDLINE env variable. | |||||
2008-03-09 | Move PM_CMDLINE declaration into pm_functions.in. | Victor Lowther | 1 | -0/+1 | |
This lays the groundwork for allowing the user to add default parameters to potentially override the ones that HAL passes to us. | |||||
2008-03-09 | Ensure wwe have made $STORAGEDIR before trying to blacklist hooks. | Victor Lowther | 1 | -0/+1 | |
2008-03-09 | Really really make reading the default blacklist work. | Victor Lowther | 1 | -1/+1 | |
2008-03-09 | Actually source the correct blacklist file. | Victor Lowther | 1 | -1/+1 | |
2008-03-07 | Moved the "Running hook" diagnostic message in run_hooks. | Victor Lowther | 1 | -1/+2 | |
2008-03-06 | Change the default blacklist location to PM_SYSCONFDIR. | Victor Lowther | 1 | -2/+4 | |
Also add before_hooks support to run_hooks. | |||||
2008-03-06 | Have pm-functions.in read an initial list of hooks to blacklist. | Victor Lowther | 1 | -0/+12 | |
Be a little smart about it, and allow comments. | |||||
2008-03-06 | Make run_hooks skip disabled hooks. | Victor Lowther | 1 | -2/+13 | |
Eventually we will print a helpful diagnostic in the logfile saying what disabled the hook based on the contents of the disabled file, but that is a job for a later date. | |||||
2008-03-05 | Split functions.in into functions.in and pm-functions.in | Victor Lowther | 1 | -0/+131 | |
pm-functions.in contains the functionality that should only be used by the pm-utils frontends (pm-action, pm-is-supported, and pm-powersave). functions.in contains code that is shared between the hooks and the pm-utils frontends. The reason behind splitting this out is to reduce namespace pollution in the hooks. |