summaryrefslogtreecommitdiff
path: root/boot/boot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/boot.sh')
-rwxr-xr-xboot/boot.sh19
1 files changed, 3 insertions, 16 deletions
diff --git a/boot/boot.sh b/boot/boot.sh
index f4e577d..9fc8af8 100755
--- a/boot/boot.sh
+++ b/boot/boot.sh
@@ -1,17 +1,4 @@
#!/bin/bash
-if [[ -z "$JASPER_HOME" ]]; then
- if [[ -d "/home/pi" ]]; then
- JASPER_HOME="/home/pi"
- export JASPER_HOME;
- else
- echo "Error: \$JASPER_HOME is not set."
- exit 0;
- fi
-fi
-
-cd $JASPER_HOME/jasper/boot
-LD_LIBRARY_PATH="/usr/local/lib"
-export LD_LIBRARY_PATH
-PATH=$PATH:/usr/local/lib/
-export PATH
-./boot.py &
+# This file exists for backwards compatibility with older versions of Jasper.
+# It might be removed in future versions.
+"${0%/*}/boot.py"