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

Re: Bad interpreter



On Wednesday 30 October 2002 22:40, 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?
>
> Happy Halloween from Sunny St. Brieux Saskatchewan Canada ;)
> Dan

well if /bin/sh was actually busted you would probably have noticed by now.  
Do you actually have the iptables command?  What happens if you run:
sh doit.sh?



Reply to: