So, standing on the shoulders of giants on this forum (and others) I made some changes to my WD configuration via SSH login as root, but sadly, they have had no effect; anybody know what I’m doing wrong?
Firstly, a few days ago I modified the /etc/contentdir file from the original ‘+A|Public’ to ‘+M|Public/MUSIC’ (which is where my music lies in sub-directories organised by type FLAC, AIF etc.) which I believe is “used by Twonky to set the default server folder/share upon reboot (firmware upgrade)”. However this file has ended up being overwritten with the original values…
Now, last night I did 2 reboots because I made progressive edits to ‘the’ crontab file (see below), and after the first reboot, I’m certain it had worked when I checked the Twonky GUI, but after the second reboot it has definitely overwritten the file and Twonky has reverted to Public and all file types. The only thing I can think of is that I made a backup file called ‘contentdir.bak’ (see below list) and it’s read that instead – but OS’s don’t work like that do they?
drwxr-xr-x 2 root root 4096 Sep 27 2013 calendar
-rw-rw-r-- 1 root root 10 Apr 7 20:01 contentdir
-rw-rw-r-- 1 root root 10 Apr 3 19:40 contentdir.bak
drwxr-xr-x 2 root root 4096 Jan 12 00:21 cracklib
Secondly, I only share music files so I had successfully stopped the Photo indexing processes like this:
/bin/sh /etc/rc2.d/S86wdphotodbmergerd stop
/bin/sh /etc/rc2.d/S85wdmcserverd stop
and wanted to stop them returning after a reboot/upgrade via crontab entries, as below :
root 9747 9666 0 20:08 pts/0 00:00:00 ps -ef
WDMyCloud:~# crontab -l
For more information see the manual pages of crontab(5) and cron(8)
m h dom mon dow command
However after 1 reboot and a ‘ps –ef’, I could still see:
usr/local/wdmcserver/bin/wdmcserver –x off
But I note there is no ‘d’ at the end of the name…
So I thought I’d add ‘@reboot /bin/sh /etc/rc2.d/S50netatalk stop’ to the crontab to stop the Apple service and reboot again (via the WD GUI), but I can still see the netatalk (as below) and indexing services.
/usr/sbin/netatalk –F /etc/netatalk/afp.conf
/usr/sbin/afpd –d –F /etc/netatalk/afp.conf
/usr/sbin/cnid_metad –d –F /etc/netatalk/afp.conf
The crontab file was empty when I started - is there more than 1/do I need to login differently?
So I achieved nothing – can anyone spot where I’ve misunderstood the processes or is this not possible anymore? (I installed the latest upgrade about 2 weeks ago)
Sorry this is such a long post but you now have all the facts I hope!