Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 14:38:25 -0800
From:      Jim Pazarena <fquest@ccstores.com>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   rc.d execution  was:boot up notification
Message-ID:  <41E849E1.4020803@ccstores.com>
In-Reply-To: <20050114210755.13772.qmail@web53803.mail.yahoo.com>
References:  <20050114210755.13772.qmail@web53803.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gregor Mosheh wrote:
>>I would like one of my servers to send me an email
>>when
>>it boots. I envision a script in rc.conf to do this.
>>Is there an easier way, or an automatic system which
>>can do this?
> 
> 
> I put this script in my /usr/local/etc/rc.d directory.
> I want it to run last, so I name it 999.notify.sh
> 
> #!/bin/sh
> 

do the rc scripts execute the file(s) it finds in an order
OTHER than the normal ascii sequence? Reason I ask is that
"999..." falls AFTER upper-case and BEFORE lower-case.



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