![]() |
Re: Multiple boot videos?
Quote:
Something strange... I use the winSCP. I put the rvid file to the /etc/event.d and reboot the phone 4 times ! It's work, but it's change only between 2 videos from 4 I have :( Why ? |
Re: Multiple boot videos?
Better start from scratch as the rvid has been re-written
|
Re: Multiple boot videos?
Well, I am checking as well and indeed from the 7 videos I have, only the ones that are called 1.conf and 2.conf are shuffled!
Others won't do it.... I guess I was overexicited to see something diff. than those hands all the time.. Checked 15 times.... Only loops 1 and 2.conf files... |
Re: Multiple boot videos?
I get this :-)
Now it's play 3 videos from 4.... I check the dconfs folder and I found the file named 1.lock. I deleted this file and reboot again 4 times. Now it's play 3 videos from 4.... I check again the dconfs folder and I found the file named 4.lock... :cool: I think, maybe I have put some simple video5 + 5.conf + 5.lock. Maybe this option lock the video number 5 and it's play only 4 videos :) I'll try it's now... |
Re: Multiple boot videos?
Does not work ...
It's lock file created automatically, all time I reboot the phone... I see again only 2 videos :cool: |
Re: Multiple boot videos?
Must be a script issue...
Let's hope out German friend comes online soon... |
Re: Multiple boot videos?
Yep.... If random video not work, maybe it's better change the script to loopble for play 1,2,3,4.... and again 1,2,3,4...
|
Re: Multiple boot videos?
1 Attachment(s)
hey guys ;)
don't worry... the *.lock files are my way to check which default.conf is used at the moment... because i don't want to replace the file with the same file and _maybe_ get the same bootvideo over and over again. i have tested my shellscript with 5 x.conf files. you can see the output in the image i attached. my script is doing what it is supposed to do. maybe there is an issue with generating random numbers out of /dev/urandom on startup?! http://en.wikipedia.org/wiki//dev/random edit: GOD DAMN IT! my random number generating line only produces two different numbers. that's because /dev/urandom is based on drivers' noise and (that would be my explanation) gets flushed at power on. so the noise the drivers are producing is always the same at the same time. -.- i need to find another way to get a random number :/ ($RANDOM didn't work for me...) |
Re: Multiple boot videos?
any suggestions for generating a REAL random number on startup?
i tried to launch the script on shutdown with "start on shutdown" but this doesn't work. edit: "start on runlevel 0" doesn't work too. :( would be nice if there would be any chance of running the a script in event.d on shutdown. especially if it depends on a good entropy pool like generating a random number out of /dev/urandom. ^^ if anyone is interested in why my script doesn't work properly on startup... take a look here: http://linux.about.com/library/cmd/blcmdl4_urandom.htm :) |
Re: Multiple boot videos?
Maybe we need write numbers of our videos here:
Code:
# get random number Code:
# get random number |
All times are GMT. The time now is 21:28. |
vBulletin® Version 3.8.8