Shell script for license management

flexlm is shell tool for operating Flex License Manager.
Developed in bash code: 100%.
The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.
Table of Contents

Navigate to release page download and extract release archive.
To install flexlm type the following
tar xvzf flexlm-x.y.tar.gz
cd flexlm-x.y
cp -R ~/sh_tool/bin/   /root/scripts/flexlm/ver.x.y/
cp -R ~/sh_tool/conf/  /root/scripts/flexlm/ver.x.y/
cp -R ~/sh_tool/log/   /root/scripts/flexlm/ver.x.y/
Self generated setup script and execution
./flexlm_setup.sh 
[setup] installing App/Tool/Script flexlm
	Sun 05 Dec 2021 01:15:58 PM CET
[setup] copy App/Tool/Script structure
[setup] remove github editor configuration files
[setup] set App/Tool/Script permission
[setup] create symbolic link of App/Tool/Script
[setup] done
/root/scripts/flexlm/ver.2.0/
├── bin/
│   ├── center.sh
│   ├── check_license.sh
│   ├── display_logo.sh
│   ├── flexlm.sh
│   ├── load_licenses.sh
│   ├── start_license.sh
│   └── stop_license.sh
├── conf/
│   ├── flexlm.cfg
│   ├── flexlm.logo
│   ├── flexlm_util.cfg
│   └── licenses.cfg
└── log/
    └── flexlm.log
3 directories, 12 files
lrwxrwxrwx 1 root root 42 Dec  5 13:15 /root/bin/flexlm -> /root/scripts/flexlm/ver.2.0/bin/flexlm.sh
Or You can use docker to create image/container.
# Create symlink for shell tool
ln -s /root/scripts/flexlm/ver.x.y/bin/flexlm.sh /root/bin/flexlm
# Setting PATH
export PATH=${PATH}:/root/bin/
# Start Cadence License Server
flexlm 
flexlm ver.2.0
Sun 05 Dec 2021 01:16:52 PM CET
[check_root] Check permission for current session? [ok]
[check_root] Done
                                               
     ████  ██                  ██              
    ░██░  ░██                 ░██              
   ██████ ░██  █████  ██   ██ ░██ ██████████   
  ░░░██░  ░██ ██░░░██░░██ ██  ░██░░██░░██░░██  
    ░██   ░██░███████ ░░███   ░██ ░██ ░██ ░██  
    ░██   ░██░██░░░░   ██░██  ░██ ░██ ░██ ░██  
    ░██   ███░░██████ ██ ░░██ ███ ███ ░██ ░██  
    ░░   ░░░  ░░░░░░ ░░   ░░ ░░░ ░░░  ░░  ░░   
                                               
	                             
	Info   github.io/flexlm ver.2.0
	Issue  github.io/issue
	Author vroncevic.github.io
  [USAGE] flexlm [OPTIONS]
  [OPTIONS]
  [COMMAND] start | stop | restart | status
  [VENDOR NAME] cadence | mentor
  # Start license server
  flexlm start mentor
  [help | h] print this option
flexlm requires next modules and libraries
flexlm is based on MOP.
Shell tool structure
sh_tool/
├── bin/
│   ├── center.sh
│   ├── check_license.sh
│   ├── display_logo.sh
│   ├── flexlm.sh
│   ├── load_licenses.sh
│   ├── start_license.sh
│   └── stop_license.sh
├── conf/
│   ├── flexlm.cfg
│   ├── flexlm.logo
│   ├── flexlm_util.cfg
│   └── licenses.cfg
└── log/
    └── flexlm.log
More documentation and info at
Copyright (C) 2016 - 2024 by vroncevic.github.io/flexlm
flexlm is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.
Lets help and support FSF.