#!/bin/bash -e

if [ -z "$YESNO" ]; then
  YESNO=$"yYnN"
fi

yesno "May I include your NIS domain name in the bug report? [Y/n] " yep

if [ "$REPLY" = "yep" ]; then
  echo >&3
  echo "NIS domain: $(/bin/domainname) " >&3
  echo
fi
