For example, in the Korn shell, you set environment variables as follows:
$ export RCM_ENV_FORCE=TRUE
For example:
$ script-name scriptinfo $ script-name register $ script-name preremove resource-name $ script-name postremove resource-name
For more information, see How to Install an RCM Script.
Caution - Make sure that you are familiar with these commands because they can alter the state of the system and cause system failures. |
For example, if your script registers the device /dev/dsk/c1t0d0s0, you might try the following commands:
$ cfgadm -c unconfigure c1::dsk/c1t0d0 $ cfgadm -f -c unconfigure c1::dsk/c1t0d0 $ cfgadm -c configure c1::dsk/c1t0d0