Updated firmware to latest; can't get WD-services to stop running after a reboot

crontab -e
@reboot /bin/sh /etc/rc2.d/S86wdphotodbmergerd stop
@reboot /bin/sh /etc/rc2.d/S85wdmcserverd stop

and

nano /etc/rc2.d/S98user-start
/etc/rc2.d/S85wdmcserverd stop
/etc/rc2.d/S86wdphotodbmergerd stop

Both appear to be completely ignored. On the web GUI, it appears that some lower level script is launching these as I now have a perpetual:

“Content Scan
Scanning”




Twonkey scans everything fine.

No need to do the crontab stuff. Not sure when the cron jobs run on reboot. If they run before the rc2.d scripts then the processes will be restarted. The changes you made to S98user-start is sufficient.
You should verify what is happening by SSH into the MC and do a ps -eaf

RAC

It seems the scanning fixed itself in the GUI and showed “idle.”

However, after a reboot they get launched and just churns away generating thumbnails via avconv.

=======================
8894 root 28 8 37376 21m 6080 R 25.8 9.5 0:00.78 avconv
6941 root 20 0 43328 15m 8128 S 2.6 6.8 0:14.96 wdmcserver

===========================

WDMyCloud:~# ps -eaf
UID PID PPID C STIME TTY TIME CMD
root 1 0 3 17:18 ? 00:00:08 init [2]
root 2 0 0 17:18 ? 00:00:00 [kthreadd]
root 3 2 0 17:18 ? 00:00:00 [cpu1_hotplug_th]
root 4 2 0 17:18 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 17:18 ? 00:00:00 [kworker/0:0]
root 6 2 0 17:18 ? 00:00:00 [kworker/u:0]
root 7 2 0 17:18 ? 00:00:00 [migration/0]
root 8 2 0 17:18 ? 00:00:00 [migration/1]
root 9 2 0 17:18 ? 00:00:00 [kworker/1:0]
root 10 2 0 17:18 ? 00:00:00 [ksoftirqd/1]
root 11 2 0 17:18 ? 00:00:00 [khelper]
root 12 2 0 17:18 ? 00:00:00 [kworker/u:1]
root 37 2 0 17:18 ? 00:00:00 [kworker/1:1]
root 230 2 0 17:18 ? 00:00:00 [sync_supers]
root 232 2 0 17:18 ? 00:00:00 [bdi-default]
root 234 2 0 17:18 ? 00:00:00 [kblockd]
root 240 2 0 17:18 ? 00:00:00 [ata_sff]
root 251 2 0 17:18 ? 00:00:00 [khubd]
root 257 2 0 17:18 ? 00:00:00 [md]
root 280 2 0 17:18 ? 00:00:00 [rpciod]
root 282 2 0 17:18 ? 00:00:00 [kworker/0:1]
root 293 2 0 17:18 ? 00:00:00 [kswapd0]
root 294 2 0 17:18 ? 00:00:00 [fsnotify_mark]
root 295 2 0 17:18 ? 00:00:00 [nfsiod]
root 296 2 0 17:18 ? 00:00:00 [crypto]
root 334 2 0 17:18 ? 00:00:00 [scsi_eh_0]
root 337 2 0 17:18 ? 00:00:00 [scsi_eh_1]
root 340 2 0 17:18 ? 00:00:00 [kworker/u:2]
root 341 2 0 17:18 ? 00:00:00 [kworker/u:3]
root 351 2 0 17:18 ? 00:00:00 [comcerto_spi.1]
root 353 2 0 17:18 ? 00:00:00 [comcerto_spi.0]
root 386 2 0 17:18 ? 00:00:01 [btn_t]
root 396 2 0 17:18 ? 00:00:00 [a3gblink_t]
root 406 2 0 17:18 ? 00:00:00 [kworker/u:4]
root 431 2 0 17:18 ? 00:00:00 [md0_raid1]
root 433 2 0 17:18 ? 00:00:00 [kjournald]
root 678 2 0 17:18 ? 00:00:00 [flush-9:0]
root 2063 1 0 17:19 ? 00:00:00 udevd --daemon
root 2469 2 0 17:19 ? 00:00:01 [pfe_ctrl_timer]
root 2515 2063 0 17:19 ? 00:00:00 udevd --daemon
root 2516 2063 0 17:19 ? 00:00:00 udevd --daemon
root 3913 1 0 17:19 ? 00:00:00 /sbin/rpcbind -w
root 4149 1 0 17:19 ? 00:00:00 /usr/sbin/rsyslogd -c5
root 4212 1 0 17:19 ? 00:00:00 /usr/sbin/apache2 -k start
root 4239 1 0 17:19 ? 00:00:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog
root 4391 2 0 17:19 ? 00:00:00 [jbd2/sda4-8]
root 4392 2 0 17:19 ? 00:00:00 [ext4-dio-unwrit]
root 4397 2 0 17:19 ? 00:00:00 [flush-8:0]
root 5280 1 0 17:20 ? 00:00:00 /usr/sbin/ifplugd -i eth0 -q -f -u0 -d5 -w -I
root 5324 1 0 17:20 ? 00:00:00 /usr/local/bin/wd-btnd /dev/input/button system 4 /usr/local/sbin/resetButtonAction.sh
root 5698 1 0 17:20 ? 00:00:00 /usr/sbin/cron
www-data 5857 4212 1 17:20 ? 00:00:01 /usr/sbin/apache2 -k start
www-data 5858 4212 0 17:20 ? 00:00:00 /usr/sbin/apache2 -k start
root 5973 2 0 17:20 ? 00:00:00 [knetatop]
root 5981 1 0 17:20 ? 00:00:00 /usr/bin/atopacctd /tmp/atopacct
root 5986 1 0 17:20 ? 00:00:00 /usr/bin/atop -a -w /var/log/atop/atop_current 60
root 6043 1 0 17:20 ? 00:00:00 /usr/sbin/sshd
root 6076 1 0 17:20 ? 00:00:00 /bin/sh /usr/local/sbin/monitorTemperature.sh
root 6135 1 0 17:20 ? 00:00:00 /bin/bash /usr/local/sbin/monitorio.sh
root 6219 6076 0 17:20 ? 00:00:00 sleep 1800
www-data 6293 4212 0 17:20 ? 00:00:00 /usr/sbin/apache2 -k start
root 6295 2 0 17:20 ? 00:00:00 [lockd]
root 6296 2 0 17:20 ? 00:00:00 [nfsd]
root 6297 2 0 17:20 ? 00:00:00 [nfsd]
root 6298 2 0 17:20 ? 00:00:00 [nfsd]
root 6299 2 0 17:20 ? 00:00:00 [nfsd]
root 6300 2 0 17:20 ? 00:00:00 [nfsd]
root 6301 2 0 17:20 ? 00:00:00 [nfsd]
root 6302 2 0 17:20 ? 00:00:00 [nfsd]
root 6303 2 0 17:20 ? 00:00:00 [nfsd]
root 6307 1 0 17:20 ? 00:00:00 /usr/sbin/rpc.mountd --manage-gids
root 6327 1 0 17:20 ? 00:00:00 /bin/sh /etc/rc2.d/S20restsdk-serverd start
root 6329 6327 0 17:20 ? 00:00:00 /usr/local/restsdk/restsdk-server -device-kind sequoia
root 6352 1 0 17:20 ? 00:00:00 /usr/sbin/nmbd -D
root 6356 1 0 17:20 ? 00:00:00 /usr/sbin/smbd -D
root 6369 6356 0 17:20 ? 00:00:00 /usr/sbin/smbd -D
root 6400 1 0 17:20 ? 00:00:00 /usr/sbin/winbindd
root 6405 6400 0 17:20 ? 00:00:00 /usr/sbin/winbindd
root 6436 1 0 17:20 ? 00:00:00 /usr/sbin/netatalk -F /etc/netatalk/afp.conf
root 6438 6436 0 17:20 ? 00:00:00 /usr/sbin/afpd -d -F /etc/netatalk/afp.conf
root 6439 6436 0 17:20 ? 00:00:00 /usr/sbin/cnid_metad -d -F /etc/netatalk/afp.conf
root 6513 1 0 17:20 ? 00:00:00 /usr/local/bin/mDNSResponderPosix -b -f //etc/nas/mDNSResponder.conf -P /var/run/mDNSResponder.p
root 6847 1 0 17:20 ? 00:00:00 /usr/local/bin/upnp_nas_device -webdir /var/local/upnp_nas_device -desc nasdevice.xml
root 6921 1 0 17:20 ? 00:00:00 /usr/local/twonkymedia-7/twonkystarter -D -ip 192.168.1.253 -httpport 9000 -appdata /CacheVolume
root 6922 6921 38 17:20 ? 00:00:38 /usr/local/twonkymedia-7/twonkyserver -D -ip 192.168.1.253 -httpport 9000 -appdata /CacheVolume/
root 6941 1 11 17:20 ? 00:00:11 /usr/local/wdmcserver/bin/wdmcserver -x off
root 7056 1 7 17:20 ? 00:00:06 /usr/local/wdmcserver/bin/wdphotodbmerger
www-data 7068 4212 0 17:20 ? 00:00:00 /usr/sbin/apache2 -k start
root 7113 1 0 17:20 ? 00:00:00 /usr/local/bin/lld2d eth0
root 7150 1 1 17:20 ? 00:00:00 /usr/local/bin/wdnotifier
root 7222 1 0 17:21 ? 00:00:00 /usr/local/bin/wdAutoMounter
root 7298 1 0 17:21 ? 00:00:00 /usr/local/bin/onbrdnetloccomm -l 5
root 7392 6135 0 17:21 ? 00:00:00 xargs -0 -I {} getShareSize.sh {}
root 7414 7392 0 17:21 ? 00:00:00 /bin/bash /usr/local/sbin/getShareSize.sh /shares/Public
root 7426 7414 3 17:21 ? 00:00:01 du -sbL /shares/Public
root 7488 1 0 17:21 ttyS0 00:00:00 /sbin/getty -L ttyS0 115200 vt100
root 7652 6043 5 17:22 ? 00:00:00 sshd: root@pts/0
root 7654 6941 22 17:22 ? 00:00:01 avconv -loglevel quiet -ss 00:00:00 -i /shares/Public/Videos/TV/…
root 7656 7652 2 17:22 pts/0 00:00:00 -bash
root 7664 5857 4 17:22 ? 00:00:00 sudo /usr/local/sbin/getMediaServerDbInfo.sh
root 7665 7664 4 17:22 ? 00:00:00 /bin/bash /usr/local/sbin/getMediaServerDbInfo.sh
root 7668 7665 5 17:22 ? 00:00:00 /bin/bash /usr/local/sbin/getDlnaDbInfo.sh
root 7674 7668 0 17:22 ? 00:00:00 /bin/bash /usr/local/sbin/getDlnaDbInfo.sh
root 7675 7674 0 17:22 ? 00:00:00 /bin/bash /usr/local/sbin/getDlnaDbInfo.sh
root 7676 7675 9 17:22 ? 00:00:00 curl -m 5 -s http://192.168.1.253:9000/rpc/version
root 7677 7656 0 17:22 pts/0 00:00:00 ps -eaf