Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 09:42:40 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        D J Hawkey Jr <hawkeyd@visi.com>
Cc:        questions at FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: sh(1) equivalent to bash(1)'s $HOME/.bash_logout?
Message-ID:  <20020809144240.GA3773@dan.emsphone.com>
In-Reply-To: <20020809071825.A48980@sheol.localdomain>
References:  <20020809071825.A48980@sheol.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 09), D J Hawkey Jr said:
> In $HOME/.bash_profile, I start fetchmail in daemon mode if certain
> requirements are met, and in $HOME/.bash_logout, I stop fetchmail
> (again, if certain requirements are met).
> 
> I would like to move this functionality to $HOME/.profile and, um,
> "what", I don't know, so it also works under sh(1). It's that "what"
> that eludes me; is there a sh(1) equivalent to bash(1)'s
> $HOME/.bash_logout?

Nope.  Why not start/stop fetchmail in your ppp startup/shutdown
scripts instead?  
 
> It looks as though csh(1) parallels bash(1)'s functionality, but with
> different dot files.
> 
> Please mail me directly, as I'm not subscribed to this list. Thanks,

That's standard procedure.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809144240.GA3773>