The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
web flash archive installation hassan1 SUN Solaris 1 07-12-2007 02:05 AM
Archive data accross solaris server Remi SUN Solaris 1 12-07-2006 12:37 AM
Solaris 10 - non-interactive flash install kungpow SUN Solaris 1 11-19-2006 04:45 PM
things to include in a flash archive BG_JrAdmin SUN Solaris 3 10-27-2006 06:57 AM
Flash Archive built on a 490 going to a 890 BG_JrAdmin SUN Solaris 3 10-24-2006 10:50 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2006
Registered User
 

Join Date: Sep 2006
Posts: 31
Solaris 10 flash archive Postdeployment Script

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?
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0