„Build/synOTR.sh“ ändern
This commit is contained in:
parent
ced8107114
commit
6da954447d
|
@ -660,7 +660,12 @@ if [ $decoderactiv = "on" ] && [ ! -z "$filetest" ] ; then
|
||||||
echo -n " "; date
|
echo -n " "; date
|
||||||
|
|
||||||
if [ $machinetyp = "x86_64" ]; then
|
if [ $machinetyp = "x86_64" ]; then
|
||||||
otrdecoderLOG=$(otrdecoder64 -q -i "$i" -o "$DECODIR" -e "$OTRuser" -p "$OTRpw" 2>&1)
|
if [ "$(synogetkeyvalue /etc.defaults/VERSION buildnumber)" -ge 60000 ]; then
|
||||||
|
# verwende passenden Decoder ab DSM7.2:
|
||||||
|
otrdecoderLOG=$(otrdecoder64_72 -q -i "$i" -o "$DECODIR" -e "$OTRuser" -p "$OTRpw" 2>&1)
|
||||||
|
else
|
||||||
|
otrdecoderLOG=$(otrdecoder64 -q -i "$i" -o "$DECODIR" -e "$OTRuser" -p "$OTRpw" 2>&1)
|
||||||
|
fi
|
||||||
elif [ $machinetyp = "i686" ]; then
|
elif [ $machinetyp = "i686" ]; then
|
||||||
otrdecoderLOG=$(otrdecoder32 -q -i "$i" -o "$DECODIR" -e "$OTRuser" -p "$OTRpw" 2>&1)
|
otrdecoderLOG=$(otrdecoder32 -q -i "$i" -o "$DECODIR" -e "$OTRuser" -p "$OTRpw" 2>&1)
|
||||||
elif [ `echo $machinetyp | grep "armv" ` ] ; then
|
elif [ `echo $machinetyp | grep "armv" ` ] ; then
|
||||||
|
|
Loading…
Reference in a new issue