Skip to content

Commit 30a24ab

Browse files
committed
Added script to remove x lock files
1 parent ceb17d8 commit 30a24ab

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
file="/tmp/.X??-lock"
4+
5+
echo "Looking for lock file: $file"
6+
if [ -f $file ] ; then
7+
echo "Lock file: $file FOUND"
8+
rm $file
9+
echo "Lock file: $file REMOVED"
10+
fi

StandaloneChromeDebug/entry_point.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
source "clear_x_locks.sh"
3+
24
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
35

46
function shutdown {

0 commit comments

Comments
 (0)