Geektoolkit / Dynaframe3

Dynamic Photo and Video Slideshow system for SBC (such as Raspberry pi)
203 stars 38 forks source link

Update to allow running as any user #201

Closed lsmithx2 closed 1 year ago

lsmithx2 commented 2 years ago

Update to allow running as any user as script was breaking if is wasn't being ran as the user "pi" fixed it by changing to $USER

hrishihpatel commented 2 years ago

You'll want to update the run.sh file along with this...

qwksilver commented 2 years ago

before this can commit can you verify it's behavior with an echo $user for when run.sh is run with sudo or on boot from the root user. you might also check it with $logname/$LOGNAME not sure on case.