Rate This Document
Findability
Accuracy
Completeness
Readability

utils.sh

Go to the script directory as a run user (for example, ockadmin).

1
cd /home/ockadmin/BoostKit-omnishuffle_1.7.0/omnishuffleUtils/common

Function

  • Auxiliary script for installing OCK. It performs the following functions:
  • check_environment: checks whether the OCKD process is running in the environment.
  • get_os_release_name: obtains the OS release name.
  • print_log: prints logs.
  • print_security_log: prints audit logs.
  • permission_set: sets the permission.
  • clean_env_variables: clears environment variables.
  • create_log_path: creates a log path.

Syntax

Shell script.

Parameter Description

For details, see the comments in the script.

Usage Guideline

source /home/ockadmin/BoostKit-omnishuffle_1.7.0/omnishuffleUtils/utils.sh
check_environment

Example

Used together with ock_install.sh or ock_uninstall.sh.