From 3a8eeb37391c808283b0c06e91109659a65af4ae Mon Sep 17 00:00:00 2001 From: michaelsmit Date: Sat, 22 Jun 2013 16:28:09 -0300 Subject: [PATCH] Add optional ability to specify password as 5th argument. --- openrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openrc b/openrc index d63a34668c..a3d0eceb5f 100644 --- a/openrc +++ b/openrc @@ -32,6 +32,10 @@ if [[ -n "$4" ]]; then SERVICE_HOST=$4 fi +if [[ -n "$5" ]]; then + ADMIN_PASSWORD=$5 +fi + # Find the other rc files RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)