Skip to content
Snippets Groups Projects
Commit 171e9229 authored by 천 진강's avatar 천 진강
Browse files

fix: recovery shell 오타수정

parent 35a407dd
No related branches found
No related tags found
No related merge requests found
recover.sh 100644 → 100755
......@@ -4,7 +4,7 @@ SERVICE_FILE="/etc/systemd/system/${FILE_NAME}.service"
USER_NAME="pi"
EXEC_PATH="./${FILE_NAME}.c"
EXEC_PATH="$(pwd)/${FILE_NAME}"
cat <<EOF | sudo tee $SERVICsE_FILE > /dev/null
[Unit]
......@@ -17,7 +17,7 @@ Restart=always
User=$USER_NAME
[Install]
WantedBy=multi-user.targetrpi
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment