Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nexus.coast.net!simtel!noc.netcom.net!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Auto-killing slattach?
Date: 22 Jun 1995 13:07:59 +0200
Organization: Private U**x site, Dresden.
Lines: 15
Message-ID: <3sbiuf$t73@bonnie.tcd-dresden.de>
References: <kientzleDAJ8zB.FHo@netcom.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
<kientzle@netcom.com> wrote:
>I've cobbled together a Kermit script that dials up my local ISP and
>starts up slattach. The annoying point is that when I hang up (with
>Kermit), slattach is left running, and has to be killed manually. Is
>there an easy way to have slattach die when the carrier drops?
Slattach normally catches the SIGHUP and tries to redial. You can
provide it with a command used for redialing (option -r), and nobody
says that you cannot use this command in order to kill slattach off.
--
cheers, J"org private: joerg_wunsch@uriah.heep.sax.de
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)