Fix "sudo: command not found" error on installation

This commit is contained in:
Thiago Alves 2019-11-05 08:54:45 -05:00 committed by GitHub
parent 485d1d7f1a
commit 0b2507e14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ ExecStart=$WORKING_DIR/start_openplc.sh\n\
WantedBy=multi-user.target" >> openplc.service
$1 cp -rf ./openplc.service /lib/systemd/system/
rm -rf openplc.service
$1 "Enabling OpenPLC Service..."
echo "Enabling OpenPLC Service..."
$1 systemctl daemon-reload
$1 systemctl enable openplc
fi