NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dsm1212
Nov 17, 2014Apprentice
Having issues with Dropbox for R4
WhoCares? : for some reason I keep finding /c/.dropbox-dist gone! I think it may be disappearing when I reboot the nas. The configuration is fortunately not lost so I just reinstall the addon and I'm ...
dsm1212
Nov 17, 2014Apprentice
Looked at the script a bit. This script watches for a 64 bit file called dropbox to show up in /c/.dropbox_dist. If that file doesn't report that as 32bit then it attempts to download a new version and delete the current one. Since there is no longer a file called dropbox in that directory it does not find a 32 bit file and this "repair" is happening every 30 minutes. So I changed this line:
DROP32=`file /c/.dropbox-dist/dropbox | awk '{ print $3 }'`
to this:
DROP32=`file /c/.dropbox-dist/*/dropbox | awk '{ print $3 }'`
so that it finds it in the subdirectory. Now it doesn't try to do the update every 30 minutes. This is good, but I don't see why I ended up with no directory. It looks like it does download the current version and it should move it to the /c/.dropbox-dist location. If I ever do get a 64 bit update I think it will probably lead to the same condition.
steve
DROP32=`file /c/.dropbox-dist/dropbox | awk '{ print $3 }'`
to this:
DROP32=`file /c/.dropbox-dist/*/dropbox | awk '{ print $3 }'`
so that it finds it in the subdirectory. Now it doesn't try to do the update every 30 minutes. This is good, but I don't see why I ended up with no directory. It looks like it does download the current version and it should move it to the /c/.dropbox-dist location. If I ever do get a 64 bit update I think it will probably lead to the same condition.
steve
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!