Put startup screen and options under function
This commit is contained in:
@@ -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.
|
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.
|
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:
|
CentOS:
|
||||||
|
@@ -307,9 +307,7 @@ function CheckSystemd {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckUser
|
function StartUpScreen {
|
||||||
CheckOS
|
|
||||||
CheckSystemd
|
|
||||||
|
|
||||||
echo "-----------------------------------------"
|
echo "-----------------------------------------"
|
||||||
echo
|
echo
|
||||||
@@ -424,3 +422,9 @@ read -p ": " option
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckUser
|
||||||
|
CheckOS
|
||||||
|
CheckSystemd
|
||||||
|
StartUpScreen
|
||||||
|
Reference in New Issue
Block a user