Explorar o código

Update 'baidu/baidunetdisk_docker/baidunetdisk_entrypoint.sh'

gogadmin %!s(int64=3) %!d(string=hai) anos
pai
achega
9d61e195e0
Modificáronse 1 ficheiros con 4 adicións e 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