diff options
author | gordon <gordon@FreeBSD.org> | 2002-09-06 16:18:05 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2002-09-06 16:18:05 +0000 |
commit | a7f04bb2b79fce3619508825b96c5564b044a9cf (patch) | |
tree | 5bf37a1aebd8c46b4ce8523e594efce97ad8ee38 /etc/rc.d/ntpdate | |
parent | 390d72be15b0b886ecec8a4ce9879fadaa97f9a9 (diff) | |
download | FreeBSD-src-a7f04bb2b79fce3619508825b96c5564b044a9cf.zip FreeBSD-src-a7f04bb2b79fce3619508825b96c5564b044a9cf.tar.gz |
Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation on
OS-dependent case switches.
Diffstat (limited to 'etc/rc.d/ntpdate')
-rwxr-xr-x | etc/rc.d/ntpdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ntpdate b/etc/rc.d/ntpdate index 37b1d07..7b96538 100755 --- a/etc/rc.d/ntpdate +++ b/etc/rc.d/ntpdate @@ -13,7 +13,7 @@ name="ntpdate" rcvar=`set_rcvar` -case `${CMD_OSTYPE}` in +case ${OSTYPE} in FreeBSD) command="/usr/sbin/${name}" command_args=">/dev/null 2>&1" |