|
|
The /sbin directory contains architecture-dependent and architecture-independent files and system administrative databases that can be shared. The /sbin directory is part of the root filesystem.
This file is a script that configures the appropriate keyboard mapping for the console keyboard.
This file contains the network adapter driver start/stop script. See nd(1M) for more information.
This file contains the NetBIOS startup/shutdown script. See netbios(1Mtcp) for more information.
This file contains a shell script executed by
shutdown(1M)
for transitions to single-user state and by
init(1M)
for transitions to system states 0, 5, and 6.
Files in the /etc/rc0.d directory are executed when
/sbin/rc0 is run.
The file K00ANNOUNCE
in /etc/rc0.d prints the message
System services are now being stopped
.
Any task that you want executed
when the system is taken to system states 0, s, 5, or 6
is done by adding a file to the
/etc/rc0.d directory.
This file contains a shell script executed by init(1M) for transitions to system state 1 (single-user state). Executable files in the /etc/rc1.d directory, whose names begin with S or K, are executed when /sbin/rc1 is run. All files in rc1.d are linked from files in the /etc/init.d directory. Other files may be added to the /etc/rc1.d directory as a function of adding hardware or software to the system.
This file contains a shell script executed by init(1M) for transitions to system state 2 (multi-user state). Executable files in the /etc/rc.d directory, and any executable files in the /etc/rc2.d directory whose names begin with S or K, are executed when /sbin/rc2 is run. All files in rc2.d are linked from files in the /etc/init.d directory. Other files may be added to the /etc/rc2.d directory as a function of adding hardware or software to the system.
This file is executed by /sbin/init. It executes the shell scripts in /etc/rc3.d for transitions to networking state (system state 3).
This shell script is run for transitions to system state 6 (for example, using shutdown -i6). If the operating system needs to be reconfigured, the /etc/conf/bin/idcpunix script is run, and, if the reconfiguration is successful, /sbin/rc6 reboots the operating system without running diagnostics. If the reconfiguration is unsuccessful, a shell is spawned.
This file contains a shell script to shut down the system gracefully in preparation for a system backup or scheduled downtime. After stopping all nonessential processes, the shutdown script executes files in the /etc/shutdown.d directory by calling /sbin/rc0 for transitions to system state 1 (single-user state). For transitions to other system states, the shutdown script calls /sbin/init.