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 20, 2024
1 parent 41ff00c commit e7bdd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/common/post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
MODP="${0%/*}"
rm -fr $MODP/log.txt
for TV in $(cat /data/overlayfs/tmp/partition); do
[ "$(grep 'vipmount=' $MODP/module.prop | cut -d= -f2)" == 1 ] && mount -t overlay kakathic -o "lowerdir=$MODP$TV:$TV" "$TV" || /data/overlayfs/system/product/bin/overlayrw $TV >> $MODP/log.txt
[ "$(grep 'vipmount=' $MODP/module.prop | cut -d= -f2)" == 1 ] && /data/overlayfs/tmp/toybox mount -t overlay kakathic -o "lowerdir=$MODP$TV:$TV" "$TV" || /data/overlayfs/system/product/bin/overlayrw $TV >> $MODP/log.txt
done

0 comments on commit e7bdd9a

Please sign in to comment.