Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: wdef on November 25, 2009, 03:17:31 AM
-
# /etc/init.d/laptop-mode status
<snip>
Readahead states:
/usr/sbin/laptop_mode: line 951: blockdev: not found
/usr/sbin/laptop_mode: line 951: syntax error: / 2
</snip>
-
I added util-linux-ng to the dep file though the tce repo is no longer maintained or available through the appbrowser in recent TC releases.
This extension was pulled from tcz repo earlier:
http://forum.tinycorelinux.net/index.php?topic=3300.0
But as that came just at or before some general things were fixed in the repo, perhaps it can be revisited.
-
Thanks Jason
-
Sorry for the lack of response, but I've been away for a week...
I looked at making the laptop-mode extension PPI compliant as there are a bunch of conf files under /etc and it is not possible to pass a ./configure switch to change this.
I asked the question on the laptop-mode list a couple of weeks back - let me prod them again.
-
Could the config files be staged somewhere in the extension under /usr/local and then copied to /etc by the startup script?
That is sometimes a necessary approach as some things are never going to be fully PPI compliant.
-
I managed to move everything to /usr/local and get rid of the blockdev dep - I just need to test and decide how to treat the 101 conf files (most of which probably would never be changed...)