[techtalk] Partial execution of /etc/rc.d/rc.M

moebius at ip-solutions.net moebius at ip-solutions.net
Sun Jan 16 18:56:29 EST 2000


Hey All,
  I definetely spoke to soon. That . is plenty necessary. Sorry about the
misinformation.

Harry Hoffman
Product Systems Specialist
Restaurants Unlimited Inc.
Seattle WA
206 634-3082 ext. 270

On Mon, 17 Jan 2000, Malcolm Tredinnick wrote:

> On Sun, Jan 16, 2000 at 05:20:05PM -0500, Beverly Guillermo wrote:
> > I have the same spaces in my slack setup as well, and it doesn't cause a
> > problem.
> > 
> > Beverly
> > 
> > On Sun, 16 Jan 2000 moebius at ip-solutions.net wrote:
> > 
> > > Well Subba,
> > >    If it is the same here as on your machine the most obvious problem is
> > > the space between the period and forwardslash ". /etc" as opposed to
> > > "./etc"
> > > HTH,
> > > Harry Hoffman
> > > Product Systems Specialist
> > > Restaurants Unlimited Inc.
> > > Seattle WA
> > > 206 634-3082 ext. 270
> > > 
> > > On Sat, 15 Jan 2000, Subba Rao wrote:
> > > 
> > > > 
> > > > ========================================
> > > > # Start Qmail
> > > > if [ -x /etc/rc.d/rc.qmail ]; then
> > > >   . /etc/rc.d/rc.qmail start
> > > > fi
> [...etc ... the rest snipped...]
> 
> The space is important here! It is an abbreviation of the shell command
> 'source' which causes the file to be executed as a shell script without
> starting a subshell (so any environment variables that are set, stay set upon
> exiting the script).
> 
> I don't have any suggestions about the original problem (I thought the missing
> 'start' keywords were significant, but another response seems to suggest this
> is not the case). Sorry.
> 
> Cheers,
> Malcolm Tredinnick
> 
> --
> The early bird may get the worm, but the second mouse gets the cheese.
> 
> 
> ************
> techtalk at linuxchix.org   http://www.linuxchix.org
> 


************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list