SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Windows Server 2003 and Windows Server 2008 for Itanium-based Systems
Table 6-7 ifhw Operators (continued)
ResultOperator or
term
True if the first operand is less than the second.
lt
True if the first operand is greater than or equal to the second.
gte
True if the first operand is less than or equal to the second.
lte
True if the two operands are equal.
eq
True if the two operands are not equal.
neq
True if the operand is false.
not
True if a PCI device whose name includes string is found in the hardware discovery file. string
is case-sensitive.
PCI:string
The hardware discovery file is searched for string, and the corresponding value is the value of
this term. string is case-sensitive.
HWQ:string
A literal string, used for comparison.
string
A literal number, used for comparison.
number
Return Codes
Table 6-8 ifhw return codes
DescriptionValue
The device is present.0 (True)
The device is not present.1 (False)
The expression was not understood.
1
2 (Error)
An incorrect number of parameters was specified.-1 or 255
1 Because of known issue TT1000754871, error code 2 is never returned. If an invalid expression is found, 1 is returned
instead. This will be fixed in a future release of the SSTK.
ifhw 67