DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Sd(4)


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(1)).

When the Sd component of a module's Driver Software Package (DSP) is installed, idinstall(1M) 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(1M)).

References

idinstall(1M), init(1M), shutdown(1M), Rc(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004