Enhanced Support Facility 2.6 User's Guide |
Contents
Index
![]() ![]() |
Part 1 SCF Driver Features | > Chapter 1 Main Cabinet |
When UPS is connected to the system and the power failure occurred, SCF driver executes the shutdown process.
At this time, SCF driver makes the work file to distinguish the shutdown due to the power failure, and starts shutdown.
SCF driver does not make the work file when the shutdown(1M) command is executed or the POWER Switch presses or the shutdown processing due to abnormality.
The directory and the work file name from which the work file is made are as follows.
/var/opt/FJSVhwr/UPS2.cau |
The application can add special processing by the power failure by the presence of this work file.
For example, the application prepares termination script (example of filename: K00Action), and it is stored to /etc/rc0.d directory.
Make the termination script so that special processing is executed when the work file exists.
The example of the termination script is shown below.
#!/bin/sh |
Refer to init.d(4) of the Sun document for details of the termination script.
This work file is deleted by the next system booting.
Contents
Index
![]() ![]() |