Midstream, this may destroy the world

This commit is contained in:
2012-08-23 18:59:44 -04:00
parent e121bc09e1
commit c000ebba48
3 changed files with 11 additions and 3 deletions

View File

@@ -22,8 +22,10 @@ fi
NAME="$2"
op="$3"
PARAMS=$(disco-param get ${HOSTNAME}/users/${op}/${NAME})
getent ${GETENT} | grep "^${NAME}" 2>&1 | disco-shutup
set -x
PARAMS=$(disco-param get ${HOSTNAME}/${GETENT}s/${op}/${NAME})
BLAH=$(getent ${GETENT} | grep "^${NAME}" 2>&1)
RETVAL=$?
if [ $RETVAL -eq 0 ] && [ "$op" == "absent" ]; then
${DEL} ${NAME}