You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
#!@l_prefix@/bin/openpkg rc |
|
## |
|
## rc.oracle -- Run-Commands |
|
## |
|
|
|
%config |
|
oracle_enable="$openpkg_rc_def" |
|
oracle_owner="@l_oracle_owner@" |
|
oracle_base="@l_oracle_base@" |
|
oracle_home="@l_oracle_home@" |
|
oracle_incdir="@l_oracle_incdir@" |
|
oracle_libdir="@l_oracle_libdir@" |
|
oracle_cflags="@l_oracle_cflags@" |
|
oracle_ldflags="@l_oracle_ldflags@" |
|
oracle_libs="@l_oracle_libs@" |
|
|
|
%info -o |
|
echo "Oracle Enable: ${oracle_enable}" |
|
echo "Oracle Owner: ${oracle_owner}" |
|
echo "Oracle Base: ${oracle_base}" |
|
echo "Oracle Home: ${oracle_home}" |
|
echo "Oracle C Includes: ${oracle_incdir}" |
|
echo "Oracle C Libraries: ${oracle_libdir}" |
|
echo "Oracle C Flags: ${oracle_cflags}" |
|
echo "Oracle LD Flags: ${oracle_ldflags}" |
|
echo "Oracle Libraries: ${oracle_libs}" |
|
|
|
%env |
|
rcService oracle enable yes || exit 0 |
|
ORACLE_OWNER="${l_oracle_owner}" |
|
export ORACLE_OWNER |
|
ORACLE_BASE="${l_oracle_base}" |
|
export ORACLE_BASE |
|
ORACLE_HOME="${l_oracle_home}" |
|
export ORACLE_HOME |
|
|
|
|