Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2000 09:51:00 -0700
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        Jeremy Vandenhouten <jeremy.vandenhouten@marquette.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Automated Scripts 
Message-ID:  <200010301651.e9UGp0I51875@fedde.littleton.co.us>
In-Reply-To: <e1f4ae4482.e4482e1f4a@marquette.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Oct 2000 10:38:56 -0600  Jeremy Vandenhouten wrote:
 +------------------
 | Its obvious that you can put shell scripts into rc.d but given the 
 | similarity and the fact that you put #!/usr/bin/perl into the header of 
 | the file, is it possible to put perl scripts into rc.d as well?
 +------------------

Yes, but the file name has to match '*.sh' and do something useful when the
first argument matches 'start' or 'stop'.

chris
--
    Chris Fedde


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?200010301651.e9UGp0I51875>