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

Re: Bad interpreter



On Thu, Oct 31, 2002 at 12:40:20AM -0600, Dan Hunt wrote:
> Hi! Bad interpreter?
> I did edit the top of the script with the Midnight Commander edit 
> program to remove those pesky M$ spaces or carriage returns.
> 
> #!/bin/sh
> for CHAIN in INPUT OUTPUT FORWARD POSTROUTING PREROUTING
> do iptables -P $CHAIN ACCEPT
> iptables -F $CHAIN
> done
> 
> /usr/bin/nice: ./doit.sh: No such file or directory
> 
> Extreme Minimalist install of Woody with a stock 2.4 series kernel.
> Any suggestions?

Check the permissions of your script. It needs execute permissions to
run.

-- 
Seneca
seneca-cunningham@rogers.com



Reply to: