#!/bin/sh
# postinst for ipmasq

case $1 in
  configure)
    if grep -q exit /etc/ipmasq.conf; then
      echo -n "Do you wish to configure now? [Y/n] "
      read REPLY
      case $REPLY in
        [nN]*) ;;
        *) echo ; /usr/sbin/ipmasqconfig ;;
      esac
      echo "ipmasq may be set up again by running /usr/sbin/ipmasqconfig.";
    fi
    ;;
esac
