From 1c6fd74cae47c385fd51afe27740b1ad60865477 Mon Sep 17 00:00:00 2001 From: ronivay Date: Wed, 30 Aug 2017 18:52:46 +0300 Subject: [PATCH] Put startup screen and options under function --- README.md | 2 +- xo-install.sh | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0163af6..73a36f4 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ CentOS was tested without SELinux. You need to deal with labels and permissions Tool makes all necessary changes required for Xen-Orchestra to run (including packages, user creation, permissions). Please evaluate script if needed. I take no responsibility of possible damage caused by this tool. -Below is a list of packages that will be installed (if required) if missing. +Below is a list of packages that will be installed if missing. ``` CentOS: diff --git a/xo-install.sh b/xo-install.sh index 78fe1e0..2e4cd04 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -307,9 +307,7 @@ function CheckSystemd { fi } -CheckUser -CheckOS -CheckSystemd +function StartUpScreen { echo "-----------------------------------------" echo @@ -424,3 +422,9 @@ read -p ": " option ;; esac +} + +CheckUser +CheckOS +CheckSystemd +StartUpScreen