1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/bin/sh
# This script handles the inbound newsgroup update requests
gup=/var/lib/gup
# don't run the script if gup is not configured
if [ ! -f $gup/default/global.header ]; then
echo "ERROR: gup is not configured"
exit 69 # EX_UNAVAILABLE
fi
if [ -f /etc/gup.headers ]; then
OPTM="-m /etc/gup.headers"
fi
# you can use this file to override the default paths
if [ -f /etc/gup.paths ]; then
. /etc/gup.paths
fi
# Run the group update program
# Should not return
exec /usr/lib/gup/gup $OPTM $GUPOPTS -d $gup -l /var/log/gup/log
exit 69
|