#!/bin/sh set -e # If HFS_PASSWORD is set, append the create-admin flag if [ -n "$HFS_PASSWORD" ]; then set -- "$@" --create-admin "$HFS_PASSWORD" fi # Execute the passed command exec "$@"