Changeset View
Changeset View
Standalone View
Standalone View
head/etc/rc.d/hostid
Show All 29 Lines | |||||
# PROVIDE: hostid | # PROVIDE: hostid | ||||
# REQUIRE: sysctl | # REQUIRE: sysctl | ||||
# KEYWORD: nojail | # KEYWORD: nojail | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="hostid" | name="hostid" | ||||
desc="Generate a unique host ID" | |||||
start_cmd="hostid_start" | start_cmd="hostid_start" | ||||
stop_cmd=":" | stop_cmd=":" | ||||
reset_cmd="hostid_reset" | reset_cmd="hostid_reset" | ||||
extra_commands="reset" | extra_commands="reset" | ||||
rcvar="hostid_enable" | rcvar="hostid_enable" | ||||
hostid_set() | hostid_set() | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |