Skip to content

Commit

Permalink
clear /data/tmp on boot (#371)
Browse files Browse the repository at this point in the history
* clear /data/tmp on boot

* rm -rf /data/tmp
  • Loading branch information
andiradulescu authored Sep 16, 2024
1 parent a45d1a1 commit 47e89b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions userspace/usr/comma/comma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ elif ! mountpoint -q /data; then
fi
fi

# setup /data/tmp
rm -rf /data/tmp
mkdir -p /data/tmp

# symlink vscode to userdata
mkdir -p /data/tmp/vscode-server
ln -s /data/tmp/vscode-server ~/.vscode-server
Expand Down

0 comments on commit 47e89b0

Please sign in to comment.