Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\scripts\provisioning\sampledirectives\install-comp-directive.pl
# # $Header: install-comp-directive.pl 05-aug-2005.12:03:44 pshroff Exp $ # # network_stage.pl # # Copyright (c) 2005, Oracle. All rights reserved. # # NAME # install_dummy.pl - <one-line expansion of the name> # # DESCRIPTION # <short description of component this file declares/defines> # # NOTES # <other useful comments, qualifications, etc.> # # MODIFIED (MM/DD/YY) # pshroff 08/05/05 - pshroff_stagepath_dirs # pshroff 06/30/05 - Creation # $ENV{PATH} = "/bin:/usr/bin:/usr/local/bin:/usr/sbin"; use strict; require "$ENV{EMDROOT}/sysman/admin/scripts/provisioning/provisionCommon.pl"; #Staging directive for network profile component main(); sub main() { print "Installing OracleHome\n"; my $command = "rpm -qa"; system($command); my $exitstatus = $? >> 8; if ($exitstatus != 0) { print "failed while getting RPMs\n"; exit $exitstatus; } my $mkdircommand = "mkdir -p /install/oh"; system($mkdircommand); $exitstatus = $? >> 8; if ($exitstatus != 0) { print "failed while creating oh dir\n"; exit $exitstatus; } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de