aboutsummaryrefslogtreecommitdiff
path: root/setup/unix/linux-arm-setup.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-18 00:26:16 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-18 00:26:16 +1200
commit20916b8c2017a8c89452fb49321d826f553df9c0 (patch)
tree90cd6e12e0cab8e16867ed0ee302fa9a9285ea8d /setup/unix/linux-arm-setup.sh
parentef234432c20772b1eaf7fccf6bab7fa536fb47db (diff)
downloadtrackermap-server-20916b8c2017a8c89452fb49321d826f553df9c0.tar.gz
trackermap-server-20916b8c2017a8c89452fb49321d826f553df9c0.tar.bz2
trackermap-server-20916b8c2017a8c89452fb49321d826f553df9c0.zip
Move from JSW to YAJSW wrapper
Diffstat (limited to 'setup/unix/linux-arm-setup.sh')
-rwxr-xr-xsetup/unix/linux-arm-setup.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/setup/unix/linux-arm-setup.sh b/setup/unix/linux-arm-setup.sh
deleted file mode 100755
index 8128e9396..000000000
--- a/setup/unix/linux-arm-setup.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-UNIX_PATH="/opt/traccar"
-
-if [ $(java -version 2>&1 | grep -i version | sed 's/.*version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q') -lt 17 ]
-then
- echo "Please install Java version 7 or higher"
-else
- mkdir -p $UNIX_PATH
- cp -rf * $UNIX_PATH
- chmod -R go+rX $UNIX_PATH
- if [ -z "`readelf -A /proc/self/exe | grep Tag_ABI_VFP_args`" ]
- then
- mv $UNIX_PATH/bin/wrapper-linux-armel-32 $UNIX_PATH/bin/wrapper
- mv $UNIX_PATH/lib/libwrapper-linux-armel-32.so $UNIX_PATH/lib/libwrapper.so
- else
- mv $UNIX_PATH/bin/wrapper-linux-armhf-32 $UNIX_PATH/bin/wrapper
- mv $UNIX_PATH/lib/libwrapper-linux-armhf-32.so $UNIX_PATH/lib/libwrapper.so
- fi
- $UNIX_PATH/bin/traccar install
- rm $UNIX_PATH/setup.sh
-fi