From c4864734c010b1402d790d1e123af84d1823ce3a Mon Sep 17 00:00:00 2001 From: tierno Date: Tue, 20 Sep 2016 11:07:00 +0000 Subject: [PATCH] Script utility to get options. Allow service-openvim init-openvim to manage both openvim as a service and running inside a screen Signed-off-by: tierno --- scripts/get-options.sh | 175 +++++++++++++++++++++++++++++++++++++ scripts/initopenvim.sh | 94 +++++++++++--------- scripts/service-openvim.sh | 105 +++++++++++++++------- 3 files changed, 303 insertions(+), 71 deletions(-) create mode 100644 scripts/get-options.sh diff --git a/scripts/get-options.sh b/scripts/get-options.sh new file mode 100644 index 0000000..82ec06c --- /dev/null +++ b/scripts/get-options.sh @@ -0,0 +1,175 @@ +#!/bin/bash + +## +# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. +# This file is part of openmano +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact with: nfvlabs@tid.es +## + + +#Utility for getting options, must be call with source +#for every