View Single Post
Posts: 235 | Thanked: 86 times | Joined on Dec 2010
#4
Originally Posted by ossipena View Post
http://wiki.maemo.org/Templateanger
could you tell me what danger might be caused by this script? since I don't find anything dangerous other than IF YOU DECIDED TO deal with /etc/mce/mce.ini with your own LED pattern
otherwise this should be safe. or am I wrong?

Originally Posted by maemo.it View Post
thank you cehteh for your script. I'll use it, really useful. but more important for me is to understand. please, can you explain your script? what means each code line?
eg:
1.what means com.nokia.mce, is it a web address?
2.why you didn't use a simpler one-line command like PatternbatteryLow=(code) in /etc/mce/mce.ini instead of script? we need both?
what I've to write in /init.d directory? a new file or I've to modify existing mce file?
please, don't forget to the newbies too and help them to understand.
thank you cehteh
1) no. please go http://dbus.freedesktop.org/doc/dbus-tutorial.html or http://linux.die.net/man/1/dbus-monitor for details
2) you can make as many as LED pattern in mce.ini, but if nothing ever triggered it (such as "scripts"), then it'll do nothing

please correct me if I'm wrong