Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prepended (0.39 sec)

  1. dockerscripts/docker-entrypoint.sh

    #!/bin/sh
    #
    
    # If command starts with an option, prepend minio.
    if [ "${1}" != "minio" ]; then
    	if [ -n "${1}" ]; then
    		set -- minio "$@"
    	fi
    fi
    
    docker_switch_user() {
    	if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then
    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Viewed (0)
  2. gradlew

            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
            shift                   # remove old arg
            set -- "$@" "$arg"      # push replacement arg
        done
    fi
    
    
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top