Преглед на файлове

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