github.com/singularityware/singularity@v3.1.1+incompatible/etc/actions/start (about)

     1  #!/bin/sh
     2  
     3  for script in /.singularity.d/env/*.sh; do
     4      if [ -f "$script" ]; then
     5          . "$script"
     6      fi
     7  done
     8  
     9  if test -x "/.singularity.d/startscript"; then
    10      exec "/.singularity.d/startscript" "$@"
    11  fi