It seems that only bash understands expressions like $(($1+$2*256+$3*65536+$4*16777216)). Maybe using expr is better.

Kevin can you confirm that 'expr' is present in Solaris 10 box? On debian it is part of coreutils.

Cheers,
Daniel


On 06/09/06 17:28, Ovidiu Sas wrote:
What shell are you using?
It looks like your shell doesn't understand the setting of GW_IP syntax.


-ovi

On 6/8/06, Kelvin Williams <[EMAIL PROTECTED]> wrote:




This is a new OpenSER installation on a Solaris 10 box.



Any time we call openserctl we receive the following error:



/usr/local/sbin/openserctl: syntax error at line 1026: `GW_IP=$' unexpected



Line 26 of openserctl reads:



GW_IP=$(($1+$2*256+$3*65536+$4*16777216))



Any advice would be greatly appreciated!



Thanks,

kw


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to