#!/bin/sh

ask_active_file()
{
	echo "I copied some examplefiles for configuration in
/etc/news/newsflash
Should I look for an active file from inn and use your newsgroups therefrom?
Please answer y or n
"
        read a
        case $a in
                y|Y) /usr/sbin/newsflashconfig;;
                n|N) exit 0 ;;
                *) ask_active_file;;
        esac
}

ask_active_file
exit 0