Crea il file "powerstate.sh" in "/usr/script", con il seguente contenuto (per spegnere completamente il decoder):
Code:
#!/bin/sh
shutdown -h now
Se invece preferisci mandarlo in standby/deep standby, allora incolla questo codice:
Code:
#!/bin/sh
wget -q -O - "http://127.0.0.1/web/powerstate?newstate=X" >/dev/null
Sostituisci X in base all'azione che preferisci:
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 :
Code:
30 1 * * * /usr/script/powerstate.sh >/dev/null 2>&1
Se non sei pratico di cron, puoi utilizzare il seguente generatore:
**Contenu caché: Cliquez sur Thanks pour afficher. **