SOLUTION: Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-30 Thread Walter Tautz
Hello, I have the same Error if the file is not executable ! chmod 700 /etc/network/if-pre-up.d/myfilter Greetings Michelle recall that I had a script called myfilter (/bin/sh script) in /etc/network/if-pre-up.d/ AND I had the line pre-up myfilter in my /etc/network/interfaces files.

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Walter Tautz
On Thu, 22 Jan 2004, Bernd S. Brentrup wrote: On Wed, Jan 21, 2004 at 02:11:39PM -0500, Walter Tautz wrote: specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: #! /bin/sh [...] which DOES work. I wonder why it's complaining about the line #! /bin/sh during the

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Cajus Pollmeier
Am Freitag, 23. Januar 2004 18:49 schrieb Walter Tautz: On Thu, 22 Jan 2004, Bernd S. Brentrup wrote: On Wed, Jan 21, 2004 at 02:11:39PM -0500, Walter Tautz wrote: specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: #! /bin/sh [...] which DOES work. I

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Steve Kemp
On Fri, Jan 23, 2004 at 12:49:11PM -0500, Walter Tautz wrote: Doesn't seem to make a difference whether there is a space after #! or not. still get the same annoying message. I suppose it doesn't matter It's not something trivial like a DOS linefeed on the end, making the system look

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Walter Tautz
On Fri, 23 Jan 2004, Steve Kemp wrote: On Fri, Jan 23, 2004 at 12:49:11PM -0500, Walter Tautz wrote: Doesn't seem to make a difference whether there is a space after #! or not. still get the same annoying message. I suppose it doesn't matter It's not something trivial like a DOS

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is in dmesg. you may want to show us the exact output of that complain. Gruss Bernd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Michelle Konzack
Am 2004-01-21 14:11:39, schrieb Walter Tautz: specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is in dmesg. NOTE if I take it out it completely fails...

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Walter Tautz
On Thu, 22 Jan 2004, Bernd S. Brentrup wrote: On Wed, Jan 21, 2004 at 02:11:39PM -0500, Walter Tautz wrote: specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: #! /bin/sh [...] which DOES work. I wonder why it's complaining about the line #! /bin/sh during the

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Cajus Pollmeier
Am Freitag, 23. Januar 2004 18:49 schrieb Walter Tautz: On Thu, 22 Jan 2004, Bernd S. Brentrup wrote: On Wed, Jan 21, 2004 at 02:11:39PM -0500, Walter Tautz wrote: specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: #! /bin/sh [...] which DOES work. I

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Steve Kemp
On Fri, Jan 23, 2004 at 12:49:11PM -0500, Walter Tautz wrote: Doesn't seem to make a difference whether there is a space after #! or not. still get the same annoying message. I suppose it doesn't matter It's not something trivial like a DOS linefeed on the end, making the system look

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is in dmesg. you may want to show us the exact output of that complain. Gruss Bernd

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-23 Thread Michelle Konzack
Am 2004-01-21 14:11:39, schrieb Walter Tautz: specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is in dmesg. NOTE if I take it out it completely fails...

get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-21 Thread Walter Tautz
specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: #! /bin/sh iptables -X iptables -F iptables -A OUTPUT -p tcp --destination-port telnet -j REJECT which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-21 Thread Horst Pflugstaedt
On Wed, Jan 21, 2004 at 02:11:39PM -0500, Walter Tautz wrote: #! /bin/sh [...] which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is in dmesg. Hi, ever tried the line #!/bin/sh ? all my scripts seem to lack the space.

get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-21 Thread Walter Tautz
specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: #! /bin/sh iptables -X iptables -F iptables -A OUTPUT -p tcp --destination-port telnet -j REJECT which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-21 Thread Horst Pflugstaedt
On Wed, Jan 21, 2004 at 02:11:39PM -0500, Walter Tautz wrote: #! /bin/sh [...] which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is in dmesg. Hi, ever tried the line #!/bin/sh ? all my scripts seem to lack the space.

Re: get error: /bin/sh: line1: myfilter: command in boot messages...

2004-01-21 Thread Bernd S. Brentrup
On Wed, Jan 21, 2004 at 02:11:39PM -0500, Walter Tautz wrote: specically I have a /bin/sh script in /etc/network/if-pre-up.d/myfilter: #! /bin/sh [...] which DOES work. I wonder why it's complaining about the line #! /bin/sh during the boot messages. Note no such output is in dmesg. The