Browse Source

update gsnotify-arm,bug fix,ShutDownWhenLowPower ignores when GS is Charging

cuu 5 years ago
parent
commit
ee3ddb54a7
3 changed files with 11 additions and 2 deletions
  1. 10 2
      .cpirc
  2. BIN
      sys.py/gsnotify/gsnotify-arm
  3. 1 0
      sys.py/gsnotify/md5sum

+ 10 - 2
.cpirc

@@ -12,8 +12,16 @@ then
    mpd ~/.mpd.conf
       if [[ $SCREEN =~ .*320.* ]]
       then
-         startx /home/cpi/launcher/.xinitrc -- -xf86config $XORG_CONF -nocursor > /tmp/x.log 2>&1
+			while :
+			do
+        startx /home/cpi/launcher/.xinitrc -- -xf86config $XORG_CONF -nocursor > /tmp/x.log 2>&1
+				sleep 1
+			done
       else
-         startx /home/cpi/launcher/.xinitrc hdmi -- -xf86config $XORG_CONF > /tmp/x.log 2>&1
+			while :
+			do
+        startx /home/cpi/launcher/.xinitrc hdmi -- -xf86config $XORG_CONF > /tmp/x.log 2>&1
+				sleep 1
+			done
       fi
 fi

BIN
sys.py/gsnotify/gsnotify-arm


+ 1 - 0
sys.py/gsnotify/md5sum

@@ -0,0 +1 @@
+9fb0c99e7fcee01fb9ead0d15ea0e8f5  gsnotify-arm