View Single Post
Old 31-10-2010, 10:59   #47
Charlie Oscar Delta
Senior Member
 
L'Avatar di Charlie Oscar Delta
 
Iscritto dal: Nov 2007
Cittā: roma
Messaggi: 4781
http://wdtvforum.com/main/index.php?topic=5976.0

se non vi funzionano le opzioni led create un file simple.plugin.js con scritto..

function SimplePlugin(path)
{
this.rootPath = path;
}

SimplePlugin.prototype = new Plugin()
SimplePlugin.prototype.constructor = SimplePlugin;

SimplePlugin.prototype.onPageTimer = function(page)
{
var ledcall = new File("| echo status led off >> /proc/led | echo power led off >> /proc/led");
ledcall.open();
ledcall.close();
delete ledcall;
}

SimplePlugin.instance = new SimplePlugin(scriptPath)
Plugin.registerPlugin(SimplePlugin.instance)


e mettetelo nella cartella plugin, poi riavviate, attivatelo e avrete i led sempre spenti.
Charlie Oscar Delta č offline   Rispondi citando il messaggio o parte di esso