View Single Post
Old 10-03-2018, 11:03 AM   #368
sawnti
Junior Member
sawnti began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2018
Device: K4NT
Hello guys, first of all, geekmaster + all of you who made this possible, thanks so much!!

I have this working on a K4NT, with a nice video and put in a frame, and it's really cool.
I'm running it in the diagnostics mode after flashing it with kubrik so I can have ssh, with the command "while true; do zcat vid.gmv.gz | ./gmplay; done" suggested by hawhill (for me it doesn't loop forever, stops after ~ half an hour, but I think it only happens when it's unplugged)

I really wish I could be able to automatically execute gmplay on startup, so that it will play forever no matter if it reboots.

I see that cron is installed in the main partition, no entry in /etc when in diags. If you try crontab -e from diags, it complains that /var/spool/cron/crontabs doesn't exist. If I create it, putting it to execute gmplay on reboot, or every 15 minutes, it doesn't do anything, and on reboot this created folders disappear. I have also tried to put proper files in /etc/init and /etc/init.d ( the /etc in diags). This files are kept after reboot but again, no result on automatic execution.

I guess it has to do with the diags partition being sort of weird, I read in other posts that it's a temporal partition and that things get flashed away on reboot, however I formally have no clue on how this partition works.

Any idea on how could I make it such that gmplay gets executed on startup??
sawnti is offline   Reply With Quote