#!/bin/sh
# Minimal inews-wrapper for uqwk.nntp.
# Written by peterk@debian.org and released to the public domain.

if test "$NNTPSERVER" = ""; then
  if test -f /etc/news/server; then
    read NNTPSERVER < /etc/news/server
  else
    NNTPSERVER=localhost
  fi
fi

exec /usr/bin/postnews "$NNTPSERVER"
