Príkazy čo na DM920 v scriptoch používam bez problémov tak na DM-ONE nefungujú.
Napr.:
Kód: Vybrat vše
wget -q -O /dev/null "http://root:password@localhost/web/powerstate?newstate=X"Dreambox ONE + Dream Elite
Kód: Vybrat vše
wget -q -O /dev/null "http://root:password@localhost/web/powerstate?newstate=X"
Kód: Vybrat vše
29 6 * * 1-5 /etc/cron/script/start_stop_ta3.shKód: Vybrat vše
#!/bin/sh
wget -q -O /dev/null "http://root:password@localhost/web/powerstate?newstate=4"
wget -q -O /dev/null "http://root:password@localhost/web/zap?sRef=1:0:19:1328:CA2:3:EB0000:0:0:0:"
Kód: Vybrat vše
wget -q -O /dev/null "http://root:password@localhost/web/powerstate?newstate=4" 




Kód: Vybrat vše
wget -q -O /dev/null "http://root:dreambox@localhost/web/powerstate?newstate=4"

Kód: Vybrat vše
dreamboxctl --help
usage: dreamboxctl [-h]
{screenshot,recordings,currentService,play,pause,resume,stop,duration,position,volume,shutdown,reboot,recovery,restart}
...
Dreambox CLI Control
commands:
{screenshot,recordings,currentService,play,pause,resume,stop,duration,position,volume,shutdown,reboot,recovery,restart}
screenshot take a screenshot of the OSD and save it to a file
recordings recordings related functions
currentService currently running service
play play service
pause pause running service
resume resume paused service
stop stop running service
duration get duration of running service
position get/set position of running service
volume get/set volume
shutdown shut down the system
reboot reboot the system
recovery reboot into the recovery system
restart restart the graphical user interface
optional arguments:
-h, --help show this help message and exitKód: Vybrat vše
dreamboxctl screenshot --help
usage: dreamboxctl screenshot [-h] -f FILENAME [-iw WIDTH] [-ih HEIGHT]
[-d DESKTOP] [-m MODE]
optional arguments:
-h, --help show this help message and exit
-f FILENAME, --filename FILENAME
filename for the screenshot (requires full path)
(default: /tmp/screenshot.png)
-iw WIDTH, --width WIDTH
image width. 0 for original size (default: 0)
-ih HEIGHT, --height HEIGHT
image height. 0 for original size (default: 0)
-d DESKTOP, --desktop DESKTOP
desktop to take a screenshot of. 0 for TV, 1 for
display (default: 0)
-m MODE, --mode MODE capture mode, values: osd, video, combined (default:
combined)

Kód: Vybrat vše
config.plugins.Webinterface.extended_security=false


Založeno na phpBB® Forum Software © phpBB Limited
Prosilver Dark Edition by Premium phpBB Styles
Český překlad – phpBB.cz
