It was asked earlier what some of the processes/scripts are in the /etc/rc2.d/ folder that users are stopping or modifying in an effort to deal with the abysmal sleep issue on the single bay My Cloud units. To that end below is a compilation of files and brief descriptions (where possible) for scripts/files in the /etc/rc2.d/ folder (edit to add: from a v4.x first gen single bay My Cloud). Note some description information below is speculation and may not be correct. Where possible I used the description information from the file code text itself.
All scripts in the /etc/rc2.d/ folder are symbolic links to scripts in the /etc/init.d/ folder.
Description: /etc/motd is user-editable and static. This script creates the initial dynamic part, by default the output of uname, and stores it in /var/run/motd.dynamic. Both parts are output by pam_motd.
Description: Run actions before starting WD NAS applications
Description: atop init script. The program atop is an interactive monitor to view the load on a Linux system.
Description: This init.d script is used to start apache2. It basically just calls apache2ctl.
Description: Run ntpdate on startup. ntpdate sets the local date and time by polling the Network Time Protocol (NTP) server(s)
Description: This script will start OpenVPN tunnels as specified in /etc/default/openvpn and /etc/openvpn/*.conf
Description: OpenBSD Secure Shell server
Description: Monitor Temperature daemon
Description: Start standby daemon
Description: NFS is a popular protocol for file sharing across TCP/IP networks. This service provides various support functions for NFS mounts.
Description: NFS is a popular protocol for file sharing across TCP/IP networks. This service provides NFS server functionality, which is configured via the /etc/exports file.
Description: Not sure what this is/does, may be related to cloud based functions.
Description: Start Samba daemons (nmbd and smbd)
Description: Sysstat contains system performance tools for Linux. The init file runs the sadc command in order to write the “LINUX RESTART” mark to the daily data file
Description: Very secure FTP server
Description: Start Winbind daemon. Winbind provides a unified login experience between UNIX or Linux and Windows systems by letting users log on to a UNIX or Linux host by using Windows domain credentials.
Description: Netatalk 3.x init script. Netatalk is a freely-available Open Source AFP fileserver. Netatalk is capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP).
Description: Start itunes server daemon. mDNSResponder is a daemon invoked at boot time to implement Multicast DNS and DNS Service Discovery.
Description: Start upnp_nas daemon.
Description: Provide limited super user privileges to specific users.
Description: Start iTunes server (forked-daapd) daemon.
Description: Start Twonky UPnP server.
Description: Start wdmcserver (media scanning?) daemon.
Description: Communication Manager service.
Description: Start wdphotodbmerger (media thumbnail?) daemon.
Description: Cron is a standard UNIX program that runs user-specified programs at periodic scheduled times. vixie cron adds a number of features to the basic UNIX cron, including better security and more powerful configuration options.
Description: Starts the lld2d Daemon. The lld2d daemon allows Linux systems to display in Windows Network.
Description: Possibly for Safepoint backups.
Description: Start wdnotifier daemon.
Description: WD automount support. This script is used to start and stop the AutoMounter daemon. When the daemon is started, partitions of a USB devices with a supported filesystems will be automatically mounted and presented as shares. Also, USB/PTP devices will have their media mounted and presented as shares.
Description: Control script for OnBoarding Network Location Communicator daemon.
Description: Script to allow users to add their own commands to start/stop/modify/copy/delete/remove services/daemons/settings/files.
Description: Run actions after WD NAS applications have started