summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/rtkload/lzma
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/files/rtkload/lzma')
-rwxr-xr-xtarget/linux/realtek/files/rtkload/lzma13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/realtek/files/rtkload/lzma b/target/linux/realtek/files/rtkload/lzma
new file mode 100755
index 000000000..91f2500d1
--- /dev/null
+++ b/target/linux/realtek/files/rtkload/lzma
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+LINUX_VERSION=`uname -r | grep 2.4`
+
+echo "$LINUX_VERSION"
+if [ "$LINUX_VERSION" = "" ]; then
+./lzma-26 $1 $2 $3
+elif [ "$LINUX_VERSION" != "" ]; then
+./lzma-24 $1 $2 $3
+else
+echo "can not find LZMA"
+fi
+