From owner-freebsd-questions Tue Jun 10 06:14:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA03440 for questions-outgoing; Tue, 10 Jun 1997 06:14:02 -0700 (PDT) Received: from nexus.astro.psu.edu (nexus.astro.psu.edu [128.118.147.20]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA03433 for ; Tue, 10 Jun 1997 06:13:53 -0700 (PDT) Received: from mstar.astro.psu.edu by nexus.astro.psu.edu (4.1/Nexus-1.3) id AA02434; Tue, 10 Jun 97 09:13:50 EDT Received: by mstar.astro.psu.edu (SMI-8.6/Client-1.3) id JAA08955; Tue, 10 Jun 1997 09:13:50 -0400 Message-Id: <19970610091350.23696@astro.psu.edu> Date: Tue, 10 Jun 1997 09:13:50 -0400 From: Matthew Hunt To: Jason McKay Cc: questions@freebsd.org Subject: Re: Disconnecting for FreeBSD Reply-To: Matthew Hunt References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: ; from Jason McKay on Tue, Jun 10, 1997 at 08:10:19PM +0800 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, Jun 10, 1997 at 08:10:19PM +0800, Jason McKay wrote: > When a dial-up user types "exit" to logoff, it only returns them to the > login prompt. How do we make FreeBSD hang up the modem once 'exit' is > entered? I don't know exactly how you are starting ppp or pppd, but presumably you are somehow running it from the shell or a shell script. Instead of just running it as "ppp" or "pppd" use "exec ppp" or "exec pppd". "exec" replaces the shell with the program that you are running.