diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvmd-gencert | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/kvmd-gencert b/scripts/kvmd-gencert index 90f28485..b2626417 100755 --- a/scripts/kvmd-gencert +++ b/scripts/kvmd-gencert @@ -21,11 +21,8 @@ # ========================================================================== # -set -x set -e -export LC_ALL=C - if [ `whoami` != root ]; then echo "Only root can do that" exit 1 @@ -38,6 +35,10 @@ if [ "$1" != --do-the-thing ]; then exit 1 fi +set -x + +export LC_ALL=C + mkdir -p /etc/kvmd/nginx/ssl cd /etc/kvmd/nginx/ssl |