From 629969876aea9a99ebfea79cff98b97301fc398c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 22 Jul 2024 21:54:06 +0800 Subject: [PATCH] rm --- entrypoint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 708537c..c8e493b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -80,6 +80,14 @@ cat < $CONFIG_PATH } EOF fi +FILE="/tmp/.X1-lock" + +if [ -e "$FILE" ]; then + rm -rf "$FILE" + echo "$FILE has been deleted." +else + echo "$FILE does not exist." +fi chmod 777 /tmp & rm -rf /run/dbus/pid &