Thanks Guys! :)
[ SPACE
and
!=
Fixed the problem perfectly!
I looked about about 4 different sites last night and still couldn't
work it out.
Cheers Don
Christopher Sawtell wrote:
On Tuesday 19 December 2006 00:53, Edwin F wrote:
Separate the square bracket and the "$Mac" with a space character.
That is: if [ "$Mac" -ne "00:00:00:00:00:00" ]; then
use != instead of -ne
man test for the gore.
--
CS
--
Don Gould
www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz -
www.bowenvale.co.nz - www.hearingbooks.co.nz - www.buxtonsquare.co.nz -
skype:ThinkDesignPrint?add - Good ideas: www.solarking.co.nz