diff options
author | emaste <emaste@FreeBSD.org> | 2011-03-30 01:19:00 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2011-03-30 01:19:00 +0000 |
commit | 47909b5bffde5646bc91092a047f79d1b5bf2bbd (patch) | |
tree | f237a9e5d6ed49257c45f87919451376fa0b54a8 /etc/rc.d/hostid | |
parent | a9eba0596c4e413de61c0d0960d01c83a16b0feb (diff) | |
download | FreeBSD-src-47909b5bffde5646bc91092a047f79d1b5bf2bbd.zip FreeBSD-src-47909b5bffde5646bc91092a047f79d1b5bf2bbd.tar.gz |
Replace ${SYSCTL_W} with ${SYSCTL} in rc.d scripts, as they are identical.
This is a further clean up after r202988.
SYSCTL_W is still initialized in rc.subr as some ports may still use it.
Diffstat (limited to 'etc/rc.d/hostid')
-rwxr-xr-x | etc/rc.d/hostid | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid index 20f8502..c4545bd 100755 --- a/etc/rc.d/hostid +++ b/etc/rc.d/hostid @@ -50,9 +50,9 @@ hostid_set() # Set both kern.hostuuid and kern.hostid. # check_startmsgs && echo "Setting hostuuid: ${uuid}." - ${SYSCTL_W} kern.hostuuid="${uuid}" >/dev/null + ${SYSCTL} kern.hostuuid="${uuid}" >/dev/null check_startmsgs && echo "Setting hostid: ${id}." - ${SYSCTL_W} kern.hostid=${id} >/dev/null + ${SYSCTL} kern.hostid=${id} >/dev/null } hostid_hardware() |