浏览代码

Update 'baidu/baidunetdisk_docker/baidunetdisk_entrypoint.sh'

gogadmin 3 年之前
父节点
当前提交
9d61e195e0
共有 1 个文件被更改,包括 4 次插入0 次删除
  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