DESCRIPTIONstartup.sh is part of the ledcontrol package, which allows you to show arbitrary information on the normally-unused keyboard LEDs. startup.sh is the default startup script that ledd(8) uses. It is configured in /etc/ledcontrol.conf and checks the given conditions every few seconds (by default every 5 seconds).
SILENCINGstartup.sh may cause a disk-access every time it check the conditions. This is due to the access-time feature of the ext2 filesystem. If this bothers you, you can disable the access-time updating from some files.
Do NOT try this unless you know what you are doing!
Mounting a partition with the option "noatime" disables the access-time updates of the files on that filesystem. You can add this option in /etc/fstab to have the filesystems mounted with it by default. You probably need to have it set for some files in /usr and maybe /lib. If you do not want to remove the access-time feature of all the files, you may be able to create a small partition (or file) containing the necessary libraries and programs and using that.
Another option is to use chattr(1) to remove the access-time updating of only certain files. I have not tried this, so if you do, please tell be how it works out.
- location of the default startup script
- configuration file for startup.sh
- default configuration file for ledd
AUTHORLedcontrol was written by Sampo Niskanen <[email protected]>. You can get the latest version of ledcontrol from http://www.iki.fi/sampo.niskanen/ledcontrol/
BUGSbash version 2.xx.xx has a bug in it that causes startup.sh to lock up if backgrounding is used. From version 0.5.0 up this has been checked by startup.sh and if a bad version of bash is being used the option USE_BACKGROUNDING is automatically set to "NO" (see ledcontrol.conf(5)).