http://docs.sun.com/app/docs/doc/819...7rcfdn1?a=view
-------------------------------------------------
To Create a Reboot Script
This script is kept in the archive and runs after the system is rebooted. The script does any final configuration after system reconfiguration.
After you install the Solaris Flash archive on a clone system, some host-specific files are deleted and are re-created for the clone machine. The installation program uses the sys-unconfig(1M) command and the sysidtool(1M) programs to delete and re-create host-specific network configuration files. The files that are re-created include, for example, /etc/hosts, /etc/defaultrouter, and /etc/defaultdomain. You can use the reboot script for any final reconfiguration.
Create the reboot script.
Store the script in the /etc/flash/reboot directory.
Example 3-5 Creating a reboot Script
#!/bin/sh
$FLASH_DIR/TestApplication/finalize_license
---------------------------------------------------
Quote:
This script is kept in the archive
What do they mean by the script is kept in the archive? Do they mean that I create the script in /etc/flash/reboot directory before using the "flarcreate" command to create the arhicve? If not, where do I create the script and how is it called?
Or do they mean that the script is kept in the flash arhive directory where your flash archive is? But how is the script invoked?