From: Jonathan M. <jmc...@gm...> - 2011-05-01 23:02:53
|
Hi, I am wondering what the easiest method of making lcd4linux clear the screen and dim the backlight on a Matrix Orbital LCD display upon shutdown. My current thinking is to create an script in /etc/rc0.d/ to run a second lcd4linux instance with a modified config file to simply clear the screen and dim the backlight and exit, however this seems wasteful. Other ideas involve using eval() check for the existence of /etc/nologin and use a widget with no graphic to set the contrast of the LCD. This has the advantage of only using one lcd4linux instance. However it has now has to poll for the existence of /etc/nologin now. Does anyone know of any nicer methods? Thanks, Jon |