Explorar el Código

Update 'baidu/baidunetdisk_docker/baidunetdisk_entrypoint.sh'

gogadmin hace 3 años
padre
commit
9d61e195e0
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      baidu/baidunetdisk_docker/baidunetdisk_entrypoint.sh

+ 4 - 0
baidu/baidunetdisk_docker/baidunetdisk_entrypoint.sh

@@ -1,5 +1,9 @@
 #!/bin/sh
 
+# 2022-006-08 lc:
+# add the next 3 lines to clean up .xlock files in tmp directories before
+# starting xwindows, without this step the container will go core dump
+# and prevent xscreensaver from running
 rm -Rf /tmp/.*
 rm -Rf /tmp/*
 rm /etc/xdg/autostart/xscreensaver.desktop