Crea il file "powerstate.sh" in "/usr/script", con il seguente contenuto (per spegnere completamente il decoder):
Se invece preferisci mandarlo in standby/deep standby, allora incolla questo codice:Code:#!/bin/sh shutdown -h now
Sostituisci X in base all'azione che preferisci:Code:#!/bin/sh wget -q -O - "http://127.0.0.1/web/powerstate?newstate=X" >/dev/null
0 = Toogle Standby
1 = Deepstandby
2 = Reboot
3 = Restart Enigma2
4 = Wakeup form Standby
5 = Standby
Infine crea un cron job che eseguirà lo script ad un orario preciso, per esempio all' 1:30 :
Se non sei pratico di cron, puoi utilizzare il seguente generatore:Code:30 1 * * * /usr/script/powerstate.sh >/dev/null 2>&1
**Contenu caché: Cliquez sur Thanks pour afficher. **

Répondre avec citation

