Firewall Error
I am using the firewall script taken from online generation at "http://www.slackware.com/~alien/efg/".
I am getting the following error: /etc/rc.d/rc.inet2: /etc/rc.d/rc.firewall: \ bin/sh^M: bad interpretor: No such file of \ directory Why I am getting this error? I have done chmod +x on this script as given in the beginnig of this file. Regards |
Can you please post your /etc/rc.d/rc.firewall script, from the top. Thanks.
|
Hi.
I think, that this is problem with "windows-like" end of line. Do you copy and paste it in windows? :) Just delete that "^M" mark and the end of /bin/sh, and watch all you rules to delete this mark. |
Since the firewall script is more than 25000 words, I am unable to post it due this restriction imposed at LQ.
I did check that ther were no ^M characters in the firewall content as seen on Slacware box. But still I will apply the equation to remove those if they were somehow invisible. I shall come back withthe result. Regards |
Yes, it was the problem of windwos like end of line.
Thanks to all those who replied Regards |
All times are GMT -5. The time now is 11:07 PM. |