Sd(F)


Sd -- kernel module system shutdown script

Synopsis

   Sd

Description

One of the kernel configuration files, a Sd file is an optional file that executes when the system is shut down to perform any cleanup required for an installed kernel module. Normally, this is a shell script (see sh(C)).

When the Sd component of a module's Driver Software Package (DSP) is installed, idinstall(ADM) stores the driver's Sd file information in /etc/conf/sd.d/module-name, where module-name is the name of the module being installed. Package scripts should never access /etc/conf/sd.d files directly; only the idinstall command should be used.

The contents of the /etc/conf/sd.d directory are linked to /etc/idsd.d whenever a new configuration of the kernel is first booted. On the next system shutdown--and all subsequent system shutdowns--the module's Sd file is executed upon entering init level 0, 5, or 6 (see init(ADM)).

References

idinstall(ADM), init(ADM), shutdown(ADM), Rc(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005