Re: Stupid question for the day

1998-05-11 Thread Bob Hilliard
On Sun, 10 May 1998, Randy Edwards wrote:

>I've looked and apropros'ed myself to near death, but nowhere can I
> find out what that command is to automagically set up a program in
> /etc/init.d to run properly at the various run levels.  Last time I

 Write a script that does what you want, and put it in
/etc/init.d.  Then run "update-rc.d  default >/dev/null",
substituting the name of your script for .  See
/etc/init.d/README.  The most recent version of sysvinit has an
abbreviated README that points to the location of more detailed
information about this command; earlier versions of sysvinit had full
details in that README.
 
Bob
-- 
   _
  |_)  _  |_   Robert D. Hilliard<[EMAIL PROTECTED]>
  |_) (_) |_)  Palm City, FL  USAPGP Key ID: A8E40EB9


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Stupid question for the day

1998-05-10 Thread Will Lowe
On Sun, 10 May 1998, Randy Edwards wrote:

>I've looked and apropros'ed myself to near death, but nowhere can I
> find out what that command is to automagically set up a program in
> /etc/init.d to run properly at the various run levels.  Last time I
I don't think there is one.

> set one up I did it manually and would like to avoid that this time.
> The program I want to run is simply a series of ipfwadm calls to set
> up my masquerading, 
I do this in /etc/init.d/networks -- just add them to the end of the file.
Of course, this won't work if you want to do it only in certain runlevels.


Will


--
| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|   http://www.cis.udel.edu/~lowe/   |
|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
--
|   You think you're so smart,  but I've seen you naked  |
|  and I'll prob'ly see you naked again ...  |
| --The Barenaked Ladies,  "Blame It On Me"  |
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Stupid question for the day

1998-05-10 Thread Jean Pierre LeJacq
On Sun, 10 May 1998, Randy Edwards wrote:

>I've looked and apropros'ed myself to near death, but nowhere can I
> find out what that command is to automagically set up a program in
> /etc/init.d to run properly at the various run levels.  Last time I
> set one up I did it manually and would like to avoid that this time.
> The program I want to run is simply a series of ipfwadm calls to set
> up my masquerading, along with some insert modules on start and
> rmmod's on stop.  Anyone know the command I'm talking about?  Thanks

update-rc.d

-- 
Jean Pierre



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Stupid question for the day

1998-05-10 Thread Randy Edwards
   Okay, you can tease me later :-), but for now, could someone please
answer this stupid question for today?

   I've looked and apropros'ed myself to near death, but nowhere can I
find out what that command is to automagically set up a program in
/etc/init.d to run properly at the various run levels.  Last time I
set one up I did it manually and would like to avoid that this time.
The program I want to run is simply a series of ipfwadm calls to set
up my masquerading, along with some insert modules on start and
rmmod's on stop.  Anyone know the command I'm talking about?  Thanks
in advance.

--
 Regards,|Debian GNU/__ o http://www.debian.org
 .   |  / /__  _  _  _  _ __  __
 Randy   | / /__  / / / \// //_// \ \/ /
 ([EMAIL PROTECTED]) |// /_/ /_/\/ /___/  /_/\_\
 Teacher/Tech. Coord.|...because lockups are for convicts...
 |What is or why Linux?  Click on the below:
 http://www8.zdnet.com/pcmag/pctech/content/16/13/os1613.001.html



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]