Skip to content

Commit

Permalink
Update post-fs-data.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored Jan 21, 2024
1 parent fa93d80 commit af49cdb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions module/common/post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
MODP="${0%/*}"
rm -fr $MODP/log.txt
for TV in $(cat /data/overlayfs/tmp/partition); do
if [ "$(grep 'vipmount=' "$MODP/module.prop" | cut -d= -f2)" == 1 ];then
/data/overlayfs/system/product/bin/overlayrw -ro "$TV" >> "$MODP/log.txt" 2>> "$MODP/log.txt"
else
/data/overlayfs/system/product/bin/overlayrw "$TV" >> "$MODP/log.txt" 2>> "$MODP/log.txt"
fi
[ "$(grep 'vipmount=' "$MODP/module.prop" | cut -d= -f2)" == 1 ] || /data/overlayfs/system/product/bin/overlayrw "$TV" >> "$MODP/log.txt" 2>> "$MODP/log.txt"
done

0 comments on commit af49cdb

Please sign in to comment.