We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a63ef4 commit 2d879c4Copy full SHA for 2d879c4
sources/opt/lazycast/allnew.sh
@@ -2,10 +2,11 @@
2
pin="65100000"
3
cd /opt/lazycast
4
### 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
+test=1
+while [ $test -lt 2 ]
+do
+test=`ps -aux | grep -i "pcmanfm --desktop --profile LXDE-pi" | wc -l`
9
+if [ $test -lt 2 ]; then
10
pcmanfm --desktop --profile LXDE-pi &
11
fi
12
done
0 commit comments