SIMULATE='n'
YES="n"
-VERSION="1.4"
+VERSION="1.5"
# console colors:
RED=""
get_options "$@"
debug "Creating temporary LDIF file ..."
- LDIF_FILE=$( mktemp disable-user.XXXXXXXX.ldif )
+ LDIF_FILE=$( mktemp -t disable-user.XXXXXXXX.ldif )
debug "Temporary file is '${CYAN}${LDIF_FILE}${NORMAL}'."
trap cleanup_tmp_file INT TERM EXIT ABRT
echo >&2
info "Get zone '${GREEN}${zone}${NORMAL}' ..."
- local tmpfile=$( mktemp "${zone}.XXXXXXXXXX.zone" )
+ local tmpfile=$( mktemp -t "${zone}.XXXXXXXXXX.zone" )
local i=0
local zone_file="${zone}.$( cur_ts ).${i}.zone"
while [[ -e "${zone_file}" ]] ; do
DEBUG="n"
QUIET='n'
-VERSION="1.0"
+VERSION="1.1"
# console colors:
RED=""
return 0
fi
- TEMPFILE=$( mktemp )
+ TEMPFILE=$( mktemp -t kube.XXXXXXXXXX.config )
debug "Temporary file is '${TEMPFILE}'."
trap cleanup_tmp_file INT TERM EXIT ABRT
BIN_DIR=$( dirname "${MY_REAL_NAME}" )
BASE_DIR=$( dirname "${BIN_DIR}" )
-VERSION="0.1"
+VERSION="0.2"
if [[ -f "${BIN_DIR}/functions.rc" ]] ; then
. "${BIN_DIR}/functions.rc"
get_options "$@"
debug "Creating temporary LDIF file ..."
- LDIF_FILE=$( mktemp disable-user.XXXXXXXX.ldif )
+ LDIF_FILE=$( mktemp -t disable-user.XXXXXXXX.ldif )
debug "Temporary file is '${CYAN}${LDIF_FILE}${NORMAL}'."
trap cleanup_tmp_file INT TERM EXIT ABRT