[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to put ifconfig in startup script?



In article <[🔎] 199608170631.XAA26276@hybrid.com>,  <keng@hybrid.com> wrote:
>Hello;
>
>After messing up my XDM and essentially locking myself
>out of my system for a while, I have become interested
>in setting up my ethernet card from a startup script.
>
>Does one put the ifconfig and route statements in the usual
>rc.inet1

Debian doesn't have a rc.inet1, but something that looks like it:
/etc/init.d/network

> and reference it somehow from rc6.d, or what?

rc6.d? That would be the reboot runlevel. Somehow I don't think that's
what you want :) But seriously, just put your commands in /etc/init.d/network
and they will be executed at boot time.

>I appreciate any suggestions here; the NET-2 HOWTO seems to be 
>geared toward the Slackware kind of system.

Alas, yes.

Mike.
-- 
+   Miquel van Smoorenburg   + Cistron Internet Services +  Living is a     |
|  miquels@cistron.nl (SP6)  | Independent Dutch ISP     |   horizontal     |
+ miquels@drinkel.cistron.nl + http://www.cistron.nl/    +      fall        +



Reply to: