diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/hostid | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid index 77f5b9e..0f3d167 100644 --- a/etc/rc.d/hostid +++ b/etc/rc.d/hostid @@ -45,7 +45,7 @@ hostid_set() { uuid=$1 # Generate hostid based on hostuuid - take first four bytes from md5(uuid). - id=`echo -n $uuid | md5` + id=`echo -n $uuid | /sbin/md5` id="0x${id%????????????????????????}" # Set both kern.hostuuid and kern.hostid. echo "Setting hostuuid: ${uuid}." |