Stopping services the easy way

I’ve seen on this forum that you need to do the following to stop wdcserverd

/etc/rc2.d/S85wdcserverd stop

update-rc.d wdmcserverd disable

An easier way os to use the S98user-start script. whjich is a link to /CacheVolume/user-start.  Just

create a script on /CacheVolume/user-start.  Put /etc/rc2.d/S85wdcserverd stop in the file and any other commands that you want to be run after a reboot…  This way your system is not modified from the factory setting.  Then is you want the

reboot with the services left running.  Just rename the /cacheVolume/user-start file to another name and reboot.

I think this is easier then enabling and disabling init files.

Hello,

Thanks for sharing this with the community.

@ rac8006

Unfortunately I did not get this successfully his method, see how I edited the file:

But after a reboot, the services continued to work!

What else is needed to make it work? Before I was using crontab -e and worked.

JS

JScript

This is my /CacheVolume/user-script file contents.

/etc/rc2.d/S85wdmcserverd stop
/etc/rc2.d/S86wdphotodbmergerd stop
/etc/rc2.d/S92wdnotifierd stop
/etc/rc2.d/S20winbind stop
/etc/rc2.d/S20minidlna stop
#/etc/rc2.d/S85twonky stop
/etc/rc2.d/S50netatalk stop
/etc/rc2.d/S60mDNSResponder stop
/etc/rc2.d/S95wdAutoMount stop
/etc/rc2.d/S20nfs-common stop
/etc/rc2.d/S20nfs-kernel-server stop
/etc/rc2.d/S61upnp_nas stop

RAC

Thank you friend, but could you explain what are these services and even then I can still have access via DLNA and mobile devices?


/etc/rc2.d/S50netatalk stop
/etc/rc2.d/S60mDNSResponder stop
/etc/rc2.d/S95wdAutoMount stop
/etc/rc2.d/S20nfs-common stop
/etc/rc2.d/S20nfs-kernel-server stop
/etc/rc2.d/S61upnp_nas stop


I think this wdAutoMount service stopped prevents them from recognizing the USB devices, am I right?

JS

JScript

I have no idea what these services do.  I tink netatalk is to do with apple stuff.  nfs-common most likely is used

to mount nfs file systems.  I have a 16GB micro SD card mounted on my system.  So I’m not sure what effect the

WDAutoMount has to do with USB.  I did mount the ucb from the command line.

RAC