13 start_cmd="hostid_save"
19 current_hostid=`$SYSCTL_N kern.hostuuid`
21 if [ -r ${hostid_file} ]; then
22 read saved_hostid < ${hostid_file}
23 if [ ${saved_hostid} = ${current_hostid} ]; then
28 echo ${current_hostid} > ${hostid_file}
30 warn "could not store hostuuid in ${hostid_file}."