Skip to content

Commit

Permalink
fix: change script path
Browse files Browse the repository at this point in the history
  • Loading branch information
lsxredrain committed Dec 27, 2021
1 parent 13d4ec1 commit 1e45b56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dgiot_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,6 @@ function make_ssl() {
}

function devops() {
file=$0
script_dir=${file%/*}
## 关闭dgiot
count=`ps -ef |grep beam.smp |grep -v "grep" |wc -l`
if [ 0 == $count ];then
Expand All @@ -1067,7 +1065,7 @@ function devops() {
fi

if [ ! -d ${script_dir}/dgiot_dashboard/ ]; then
git clone https://gitee.com/dgiiot/dgiot-dashboard.git dgiot_dashboard
git clone https://gitee.com/dgiiot/dgiot-dashboard.git dgiot_dashboard &> /dev/null
fi

cd ${script_dir}/dgiot_dashboard
Expand Down

0 comments on commit 1e45b56

Please sign in to comment.