#! /bin/bash
##########################################################################
# This script is called by ulistd when working in passive mode and some  #
# messages are missing in the message list. Normally this script calls   #
# the axgetlist tool to obtain the message list.                         #
# $1 contains the callsign of the BBS (without SSID)                     #
# $2 contains last known message number+1                                #
##########################################################################

#-----------------------------
# Download a list of messages
#-----------------------------
axgetlist -b $1 -s $2 >>/var/ax25/axgetlist.out 2>>/var/ax25/axgetlist.err
