From 0b2507e14a30d111ee7a32fb3d6ee5a5b3e6888f Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Tue, 5 Nov 2019 08:54:45 -0500 Subject: [PATCH] Fix "sudo: command not found" error on installation --- background_installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background_installer.sh b/background_installer.sh index e16956d..3c3d682 100755 --- a/background_installer.sh +++ b/background_installer.sh @@ -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