The /sbin/rc1 Script
The /sbin/rc1 script runs the /etc/rc1.d scripts to perform the following tasks:
Stops system services and daemons
Terminates all running processes
Unmounts all file systems
Brings the system up in single-user level
The /sbin/rc2 Script
The /sbin/rc2 script runs the /etc/rc2.d scripts to perform the following tasks, grouped by function:
Local system-related tasks:
Mounts all local file systems
Enables disk quotas if at least one file system was mounted with the quota option
Saves temporary editor files in the /usr/preserve directory
Removes any files in the /tmp directory
Starts system activity data collecting, system accounting, and system auditing, if configured
Starts the system logging daemon (syslogd), sets the default dump device, and rotates the /var/adm/messages file
Sets the default scheduling class if the /etc/dispadmin.conf file exists
Starts LP print service (lpsched) if a local printer is configured and cleans up the print queue
Configures power management, if appropriate
Starts the utmpd daemon
Starts the cron and vold daemons
Configures serial device stream
Configures WBEM services
Syncs volumes, if required, and starts the mdmonitord daemon to monitor the physical components of the volumes
Starts the CDE desktop login process, dtlogin, if appropriate
Network service or security-related tasks:
Configures the network interfaces, sets ifconfig netmask, and configures network routing, if appropriate
Starts network service (inetd and rpcbind) daemons
Starts the logical link controller (llc2), if configured
Sets the name service domain name, starts various name services daemons, depending on if the system is configured for a name service, and whether the system is a client or a server
Starts the keyserv, statd, lockd, and xntpd daemons, if appropriate
Mounts all NFS entries
Configures the Solaris Network Cache and Accelerator (NCA) and NCA logging, if appropriate
Starts the Solaris PPP server or client daemons (pppoed or pppd), if configured
Starts LDAP cache manager (ldap_cachemgr), if configured
Starts directory server (slapd) daemon, if configured
Starts DNS (in.named) daemon, if configured
Starts Service Location Protocol (slpd) daemon, if configured
Configures system resource controls and system pools if the /etc/rctladm.conf and /etc/pooladm.conf files exist
Starts the cachefsd, automount, and sendmail daemons, if appropriate
Starts the htt_server process
Install-related tasks:
Configures the boot environment for the Live Upgrade software upon system startup or system shutdown
Checks for the presence of the /etc/.UNCONFIGURE file to see if the system should be reconfigured
Reboots the system from the installation media or a boot server if either /.PREINSTALL or /AUTOINSTALL exists