Skip to content

Commit 2d879c4

Browse files
committed
server
1 parent 3a63ef4 commit 2d879c4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sources/opt/lazycast/allnew.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
pin="65100000"
33
cd /opt/lazycast
44
### test if desktop manager is active
5-
test = 1
6-
while $test < 2; do
7-
test = `ps -aux | grep -i "pcmanfm --desktop --profile LXDE-pi" | wc -l`
8-
if [ $test < 2 ]; then
5+
test=1
6+
while [ $test -lt 2 ]
7+
do
8+
test=`ps -aux | grep -i "pcmanfm --desktop --profile LXDE-pi" | wc -l`
9+
if [ $test -lt 2 ]; then
910
pcmanfm --desktop --profile LXDE-pi &
1011
fi
1112
done

0 commit comments

Comments
 (0)