+08Feb99========================================================================
+1. added a $SIG{ALRM} in the client to actually catch the alarm when it goes
+off which means that the netrom/ax25 call programs terminate properly!
30Jan99========================================================================
1. Some of the dates we get can cause crashes, tried to make it more robust (oh
and Y2K compliant)
$ref->put();
push @out, $self->msg("lockout", $call);
} else {
- push @out, $self->msg('e3', 'set/lockout', $call);
+ $ref = DXUser->new($call);
+ $ref->lockout(1);
+ $ref->put();
+ push @out, $self->msg("lockoutc", $call);
}
}
return (1, @out);
don't forget to chmod 4775 netrom_call!
connect ax25 /usr/sbin/netrom_call bbs gb7djk g1tlh-0
'Connect' ''
-'Connect' 'cluster'
-'Connect'
+'Connect' 'ak1a'
+'Connect' ''
client gb7tlh ax25
loce2 => 'Don\'t recognise \"$_[0]\" as a Lat/Long (eg 52 20 N 0 16 E)',
loc => 'Your Lat/Long is now \"$_[0]\"',
lockout => '$_[0] Locked out',
+ lockoutc => '$_[0] Created and Locked out',
lockoutun => '$_[0] Unlocked',
m2 => '$_[0] Information: $_[1]',
merge1 => 'Merge request for $_[1] spots and $_[2] WWV sent to $_[0]',
$SIG{'TERM'} = \&sig_term;
$SIG{'HUP'} = 'IGNORE';
$SIG{'CHLD'} = \&sig_chld;
+$SIG{'ALRM'} = \&timeout;
dbgadd('connect');
open(IN, "$cpath/$mcall") or cease(2);
@in = <IN>;
close IN;
-
+
alarm($timeout);
for (@in) {