Mailinglist Archive: opensuse (1540 mails)

< Previous Next >
Re: [opensuse] Script to check interface & restart network service
On 11/02/10 04:03, Wong wrote:
Thanks for your advise & useful script.

I tried to run it foreground and get this message:

/usr/local/sbin/dslcheck: line 9: trap: cleanup: invalid signal
specification
That's because it should be INT TERM EXIT , not SIGINT SIGTERM EXIT.
Also only one "trap cleanup" -- it seems to be duplicated for some reason.

Basically it should look like this
trap cleanup INT TERM EXIT

Thanks Tejas,

I will try the update

Thx & Rgds,

Wong
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups