summaryrefslogtreecommitdiff
path: root/systemd/magic4linux-start
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/magic4linux-start')
-rwxr-xr-xsystemd/magic4linux-start12
1 files changed, 6 insertions, 6 deletions
diff --git a/systemd/magic4linux-start b/systemd/magic4linux-start
index 058080d..587205b 100755
--- a/systemd/magic4linux-start
+++ b/systemd/magic4linux-start
@@ -1,18 +1,18 @@
#! /usr/bin/bash
-ARES_DEVICE_INFO_CMD="$WEBOS_CLI_TV/ares-device-info"
-ARES_LAUNCH_CMD="$WEBOS_CLI_TV/ares-launch"
-ARES_INSTALL_CMD="$WEBOS_CLI_TV/ares-install"
+ARES_CHECK_CMD="ares -v"
+ARES_DEVICE_INFO_CMD="ares-device -i"
+ARES_LAUNCH_CMD="ares-launch"
+ARES_INSTALL_CMD="ares-install"
GOPATH=$(/usr/bin/go env GOPATH)
echo "Using variables:"
-echo "WEBOS_CLI_TV=$WEBOS_CLI_TV"
echo "MAGIC4PC_DIST=$MAGIC4PC_DIST"
function ares_available() {
- if ! command -v $ARES_DEVICE_INFO_CMD &> /dev/null
+ if ! command -v $ARES_CHECK_CMD &> /dev/null
then
- echo "$ARES_DEVICE_INFO_CMD could not be found"
+ echo "$ARES_CHECK_CMD could not be found"
exit 1
fi
}