RHAT bug? /etc/init.d/functions:daemon()

Bill McGonigle bill at bfccomputing.com
Wed Feb 1 11:07:01 EST 2006


On Feb 1, 2006, at 09:50, Paul Lussier wrote:

> Paul "wondering why all init scripts aren't written in perl yet..."

I've deployed a few m0n0wall firewalls - it's a BSD with its init 
script written in PHP of all things - and it still works!

I think perl init scripts would be great - you'd need to make a small 
static perl to live in /bin for boot purposes and control people from 
using every module under God in the init scripts.  This perl would 
probably take a meg or so of storage, a couple megs of RAM and need a 
CPU > 200MHz which is why this was a bad idea when Linux boot floppies 
were common on 386 machines (and still would be in embedded).  But like 
we're not expecting to see ReiserFS on linux wristwatches there would 
still be a place for bash init scripts.

But does it make sense to start now with perl 5 init scripts?  Probably 
not - perl 6 is surely going to appear and the interpreter specs are 
still undefined.

-Bill

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf




More information about the gnhlug-discuss mailing list