瀏覽代碼

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

cuu 5 年之前
父節點
當前提交
ee3ddb54a7
共有 3 個文件被更改,包括 11 次插入2 次删除
  1. 10 2
      .cpirc
  2. 二進制
      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

二進制
sys.py/gsnotify/gsnotify-arm


+ 1 - 0
sys.py/gsnotify/md5sum

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