1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

kenv moved from /usr/bin/ to /bin/.

This commit is contained in:
John Hay 2003-02-15 16:34:14 +00:00
parent 160b4bbe6a
commit 8a3a674f02
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110943
4 changed files with 12 additions and 12 deletions

View File

@ -146,7 +146,7 @@ fi
# generate our hostname
#
if [ -z "`hostname -s`" ]; then
hostname=`/usr/bin/kenv dhcp.host-name`
hostname=`/bin/kenv dhcp.host-name`
hostname $hostname
echo "Hostname is $hostname"
fi
@ -155,9 +155,9 @@ fi
# build the resolv.conf
#
if [ ! -e /etc/resolv.conf ]; then
echo domain `/usr/bin/kenv dhcp.domain-name` > /etc/resolv.conf
echo domain `/bin/kenv dhcp.domain-name` > /etc/resolv.conf
set `/usr/bin/kenv dhcp.domain-name-servers`
set `/bin/kenv dhcp.domain-name-servers`
for ns in `IFS=','; echo $*`; do
echo nameserver $ns >> /etc/resolv.conf;
done

View File

@ -146,7 +146,7 @@ fi
# generate our hostname
#
if [ -z "`hostname -s`" ]; then
hostname=`/usr/bin/kenv dhcp.host-name`
hostname=`/bin/kenv dhcp.host-name`
hostname $hostname
echo "Hostname is $hostname"
fi
@ -155,9 +155,9 @@ fi
# build the resolv.conf
#
if [ ! -e /etc/resolv.conf ]; then
echo domain `/usr/bin/kenv dhcp.domain-name` > /etc/resolv.conf
echo domain `/bin/kenv dhcp.domain-name` > /etc/resolv.conf
set `/usr/bin/kenv dhcp.domain-name-servers`
set `/bin/kenv dhcp.domain-name-servers`
for ns in `IFS=','; echo $*`; do
echo nameserver $ns >> /etc/resolv.conf;
done

View File

@ -146,7 +146,7 @@ fi
# generate our hostname
#
if [ -z "`hostname -s`" ]; then
hostname=`/usr/bin/kenv dhcp.host-name`
hostname=`/bin/kenv dhcp.host-name`
hostname $hostname
echo "Hostname is $hostname"
fi
@ -155,9 +155,9 @@ fi
# build the resolv.conf
#
if [ ! -e /etc/resolv.conf ]; then
echo domain `/usr/bin/kenv dhcp.domain-name` > /etc/resolv.conf
echo domain `/bin/kenv dhcp.domain-name` > /etc/resolv.conf
set `/usr/bin/kenv dhcp.domain-name-servers`
set `/bin/kenv dhcp.domain-name-servers`
for ns in `IFS=','; echo $*`; do
echo nameserver $ns >> /etc/resolv.conf;
done

View File

@ -146,7 +146,7 @@ fi
# generate our hostname
#
if [ -z "`hostname -s`" ]; then
hostname=`/usr/bin/kenv dhcp.host-name`
hostname=`/bin/kenv dhcp.host-name`
hostname $hostname
echo "Hostname is $hostname"
fi
@ -155,9 +155,9 @@ fi
# build the resolv.conf
#
if [ ! -e /etc/resolv.conf ]; then
echo domain `/usr/bin/kenv dhcp.domain-name` > /etc/resolv.conf
echo domain `/bin/kenv dhcp.domain-name` > /etc/resolv.conf
set `/usr/bin/kenv dhcp.domain-name-servers`
set `/bin/kenv dhcp.domain-name-servers`
for ns in `IFS=','; echo $*`; do
echo nameserver $ns >> /etc/resolv.conf;
done