|
2012-02-16
, 21:16
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#3042
|
You mean the one you were working on (and PM me about) after I wrote this post? Sorry, I'm not precognisant. I can't check a version you released after my comments were made.
Technically we are both correct and both wrong. kernel-power-settings overrides /etc/pmconfig by loading it's own preferred default if it's installed. So, the proper operational order appears to be:
- Kernel starts with Nokia base-line defaults at boot.
- Kernel loads /etc/pmconfig shortly after fs is mounted.
- If kernel-power-settings is installed, it's scripts load /etc/default/kernel-power if it exists, so long as this isn't the second reboot in under 5 minutes.
Technically, if you never call kernel-config default <filename> in any of your scripts, then you don't need to backup either file. If you scripts are changed to only call kernel-config load, then all changes made will be temporary, and it will never change the default, removing the need to restore it in postrm. That currently is not the case, as you do call kernel-config default in at least one of your scripts.
|
2012-02-16
, 21:32
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#3043
|
The Following 2 Users Say Thank You to woody14619 For This Useful Post: | ||
|
2012-02-16
, 21:42
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#3044
|
|
2012-02-17
, 00:57
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#3045
|
and woody ?? (again)! i have never stated that i have adapted cgroup to syspart before
didn't like this from u
|
2012-02-17
, 01:14
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#3046
|
i don't wanna hijack
but i got 1 coin of reply
on the other hand check this
http://talk.maemo.org/showpost.php?p...postcount=3012
|
2012-02-17
, 01:30
|
Posts: 559 |
Thanked: 166 times |
Joined on Jan 2010
@ Cyprus
|
#3047
|
|
2012-02-17
, 01:38
|
Posts: 336 |
Thanked: 129 times |
Joined on Jan 2011
@ portugal
|
#3048
|
|
2012-02-17
, 01:43
|
Posts: 535 |
Thanked: 598 times |
Joined on Apr 2011
@ Republic of the Philippines
|
#3049
|
The Following 5 Users Say Thank You to vetsin For This Useful Post: | ||
|
2012-02-17
, 02:11
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#3050
|
Tags |
autobrick, awesome-script, do no install, f***epitaph, install it now, perfect_ n900, script-a-brick, very safe |
|
So to be sure to capture existing settings for later restore during uninstall, batery-patch should backup /etc/pmconfig AND /etc/default/kernel-power. The later is a link, so capturing/restoring it isn't quite as simple. (It complicates the restore, as an existing link needs to be removed first...)
Technically, if you never call kernel-config default <filename> in any of your scripts, then you don't need to backup either file. If you scripts are changed to only call kernel-config load, then all changes made will be temporary, and it will never change the default, removing the need to restore it in postrm. That currently is not the case, as you do call kernel-config default in at least one of your scripts.