Skip to content

Commit

Permalink
Update recording
Browse files Browse the repository at this point in the history
remove on demand avconv downloading as binary is part of the repo now.
  • Loading branch information
jmtatsch authored May 18, 2018
1 parent 9197b89 commit 1bc4765
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions firmware_mod/controlscripts/recording
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
PIDFILE="/run/recording.pid"
DCIM_PATH="/system/sdcard/DCIM"

if [ ! -f /system/sdcard/bin/avconv ]; then
echo "avconv not found, downloading it";
cd /system/sdcard || exit
/system/sdcard/bin/curl -k -L https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/files/1654102/avconv.zip -o avconv.zip
/system/sdcard/bin/busybox unzip avconv.zip
mv avconv /system/sdcard/bin/avconv
rm avconv.zip
fi

if [ ! -d "$DCIM_PATH" ]; then
mkdir -p $DCIM_PATH
fi
Expand Down

0 comments on commit 1bc4765

Please sign in to comment.