On the net i've found a script to put my DM500 box on standby (after power outage in my case) and I followed these config but i didn't have any result.
on var/script/ i made a file named auto_standby.sh with chmod 755 with this code:
Then, on var/etc i created init file , chmod 755 and i've put this:
No standby, nothing.
Where's is the problem? I hope in a solution.
Thanks
on var/script/ i made a file named auto_standby.sh with chmod 755 with this code:
Code:
#!/bin/sh PSW="dreambox" TMPFILE="/tmp/tmpWebIF.standby" if [ "$1" = "" ]; then sleep 30 else sleep $1 fi wget -O $TMPFILE -q http://root:dreambox@localhost/cgi-bin/admin?command=standby rm $TMPFILE exit 0
Code:
#!/bin/sh /var/script/auto_standby.sh 40 &
Where's is the problem? I hope in a solution.
Thanks
Comment