Clayton Stapleton wrote:
>
> When trying to implement the IP-Masq stronger firewall-2.4 I have the
> following problem:
>
> loran:/home/clay # /etc/rc.d/rc.firewall-2.4
> bash: /etc/rc.d/rc.firewall-2.4: bad interpreter: Permission denied
>
> I copied this directly from the IP-Masq HOWTO. The only changes I
> made was to accommodate my modem and eth0 NIC.
>
> Why do I get a "bad interpreter"?
>
> TIA
> Clayton Stapleton
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Look at the first line. It should say #!/bin/bash
If it says #!/bin/sh - make sure there is a symlink from sh -> bash
If it is missing the #, you can get this error.
If there are ^M at the end of the line, you will get this error.
George
--
Irrefutable fact about projects: You can have
it Quick, Cheap, or Right - pick any two.
What does that tell you if your project is ahead of schedule and under
budget?