mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
minor fix for kvmd-gencert
This commit is contained in:
parent
e9d8c041a4
commit
dc32b264de
@ -21,11 +21,8 @@
|
|||||||
# ========================================================================== #
|
# ========================================================================== #
|
||||||
|
|
||||||
|
|
||||||
set -x
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export LC_ALL=C
|
|
||||||
|
|
||||||
if [ `whoami` != root ]; then
|
if [ `whoami` != root ]; then
|
||||||
echo "Only root can do that"
|
echo "Only root can do that"
|
||||||
exit 1
|
exit 1
|
||||||
@ -38,6 +35,10 @@ if [ "$1" != --do-the-thing ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
mkdir -p /etc/kvmd/nginx/ssl
|
mkdir -p /etc/kvmd/nginx/ssl
|
||||||
cd /etc/kvmd/nginx/ssl
|
cd /etc/kvmd/nginx/ssl
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user