summaryrefslogtreecommitdiff
path: root/init.d/hostid.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/hostid.in')
-rw-r--r--init.d/hostid.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/hostid.in b/init.d/hostid.in
index e98ff91..ce5574b 100644
--- a/init.d/hostid.in
+++ b/init.d/hostid.in
@@ -40,7 +40,7 @@ reset()
{
local uuid= x="[0-9a-f]" y="$x$x$x$x"
- if type kenv >/dev/null 2>&1; then
+ if command -v kenv >/dev/null 2>&1; then
uuid=$(kenv smbios.system.uuid 2>/dev/null)
fi
case "$uuid" in