From deefb6bf01b9589e275f7a13ea83dcb50a68c652 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 17 Nov 2022 13:53:29 +0700 Subject: [PATCH] use copy instead of move --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 01ffa3b..c7fd6ad 100644 --- a/install.sh +++ b/install.sh @@ -3,8 +3,8 @@ sudo apt update sudo apt install -y python3 python3-pip sudo pip3 install siwat-light-control-protocol -echo "Moving Directory to SLCP" -sudo mv -v ./ /slcp +echo "Creating SLCP Working Directory" +sudo cp -rv ./ /slcp sudo chmod 777 -Rv /slcp echo "Creating systemd Service"