exec_rc_local.sh 262 B

1234567891011
  1. #!/bin/bash
  2. if [ "${SKIP_EXEC_RC_LOCAL}" = "YES" ] ; then
  3. echo "skip /etc/rc.local: SKIP_EXEC_RC_LOCAL=${SKIP_EXEC_RC_LOCAL}"
  4. exit
  5. fi
  6. if [ "${DOCKER_DEPLOY_TYPE}" = "HOST" ] ; then
  7. echo "skip /etc/rc.local: DOCKER_DEPLOY_TYPE=${DOCKER_DEPLOY_TYPE}"
  8. exit
  9. fi