#!/bin/bash
. /usr/share/debconf/confmodule

getpasswd() {
  db_fset omix-addc/password seen false || true
  db_input $1 omix-addc/password || true
  db_go
  db_get omix-addc/password
  if [ -z "$RET" -a "$1" = high ]; then
    exit 1
  fi
  pass=$RET
  db_reset omix-addc/password
}
