Skip to content

Commit

Permalink
Update overlayrw
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored Jan 21, 2024
1 parent 9baabbf commit 27d3f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/common/overlayrw
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkdir -p "$TMPP$2"
chcon -Rh "$(ls -nZld "$2" | awk '{print $5}')" "$MODP$2"
chmod -R 755 "$MODP$2"
chown -Rh $(ls -nZld "$2" | awk '{print $3":"$4}') "$MODP$2"
mount -v -t overlay kakathic -o "lowerdir=$MODP$TV:$2" "$2" && echo "Mount: $2 done"
mount -v -t overlay kakathic -o "lowerdir=$MODP$2:$2" "$2" && echo "Mount: $2 done"
[ "$(grep -cm1 "$2" /data/overlayfs/tmp/partition)" == 1 ] || echo "$2" >> /data/overlayfs/tmp/partition
elif [ -d "$1" ];then
mkdir -p "$MODP$1"
Expand Down

0 comments on commit 27d3f7c

Please sign in to comment.