Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Symbolic link for Soundirok disappears
#5
(05-19-2021, 07:29 PM)Tenbagger Wrote: Thank you for taking an interest, Kent.

Tried your solution with the extra line for symbolic link creation on the tail of the "// Prune temp" section. Unfortunately, the link still disappears. I'm thinking either some extra cleanup is going on elsewhere, or the find command above is asynchronous and slow?

BTW: I can attest to the quality of Soundirok – haven't really noticed the lack of updates. I'm using Soundirok on an old iPad in my living room, pluss on my iPhone with a portable moOde Walkman that I made.

I still don't have cycles available to do testing but I stole a couple of minutes after dinner to search the moOde globally.

Et voila!  The same search-and-destroy of symlinks appears in /var/www/inc/playerlib.php

Code:
function integrityCheck() {
       $warning = false;

       // Export device table
       sysCmd('sqlite3 ' . SQLDB_PATH . " \"SELECT * FROM cfg_audiodev WHERE drvoptions NOT IN ('slave', 'glb_mclk') AND chipoptions = ''\" > /tmp/cfg_audiodev.sql");
       // Broom www root
       sysCmd('find /var/www -type l -delete');
        ...

so you'll have to adjust there too.

Good luck.

Regards,
Kent
Reply


Messages In This Thread
RE: Symbolic link for Soundirok disappears - by TheOldPresbyope - 05-20-2021, 01:15 AM

Forum Jump: