I put those kinds of lines in /etc/bashrc.
> Date: Thu, 27 Aug 98 14:32:17 -0400
> To: <[EMAIL PROTECTED]>
> From: "Joe Duncan" <[EMAIL PROTECTED]>
> Reply-to: <[EMAIL PROTECTED]>
> Subject: Re: [masq] Problem with rc.local
> the lines are:
>
> alias ls='ls --color=auto'
> alias dir='ls'
>
> ipfwadm <yadda yadda i forget exaclty>
> ipfwadm -F -a m -S 192.168.0.0/24 -S 0.0.0.0/0
>
> So no, none of them have qualified paths and none of them are executed.
> (I reboot the machine, no colours, no IP masq...)
>
> -----------------------------------------------
> Joe Duncan
> Systems
> Human Resources Development Canada
> (613)997-7986
> [EMAIL PROTECTED]
> -----------------------------------------------
> -------------
> Original Text
> From: "Bud Rogers" <[EMAIL PROTECTED]>, on 27/08/98 2:20 pm:
> "Joe Duncan" <[EMAIL PROTECTED]> writes:
>
> > Ok, here's a weird little problem for you. Although I did get IP
> > masquerading working last night, none of the lines I've added to the
> > rc.local file seem to be executed. I addes two line that make 'ls'
> display
> > in colour and make 'dir' an alias for 'ls'. After that there are two
> > 'ipfwadm' that enable the IP masq... Neither one seems to work. When I
> > reboot the computer I must type in these lines manually to get them to
> > work. Any ideas why? Is there another file which specifies which scripts
> > are run? Is there another initialization file that I should be using
> > instead of '/etc/rc.d/rc.local'?
>
> I'm not exactly clear about your problem. Do the first two entries
> pertaining to ls work but not the ipfwadm entries? In that case I would
> suspect a path or permission problem. Do the ipfwadm entries have a full
> path to the executable?
>
> If nothing you added works then probably rc.local isn't being called. I
> don't remember exactly, but I think it is called by rc.M. The relevant
> line may be commented out. You could find where is it called pretty quick
> with something like
>
> $grep rc.local /etc/rc.d/rc.*
>
> --
>
> Bud Rogers <[EMAIL PROTECTED]> http://www.sirinet.net/~budr/zamm.html
> formerly <[EMAIL PROTECTED]>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For daily digest info, email [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]