By popular demand, move freebsd-version(1) from /libexec to /bin.
Approved by: re (gjb)
This commit is contained in:
parent
69647b7bcd
commit
5f3850777e
@ -38,6 +38,8 @@
|
||||
# xargs -n1 | sort | uniq -d;
|
||||
# done
|
||||
|
||||
# 20131009: freebsd-version moved from /libexec to /bin
|
||||
OLD_FILES+=/libexec/freebsd-version
|
||||
# 20131001: ar and ranlib from binutils not used
|
||||
OLD_FILES+=usr/bin/gnu-ar
|
||||
OLD_FILES+=usr/bin/gnu-ranlib
|
||||
|
@ -15,6 +15,7 @@ SUBDIR= cat \
|
||||
echo \
|
||||
ed \
|
||||
expr \
|
||||
freebsd-version \
|
||||
getfacl \
|
||||
hostname \
|
||||
kenv \
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
SCRIPTS = freebsd-version
|
||||
MAN = freebsd-version.1
|
||||
BINDIR = /libexec
|
||||
CLEANFILES = freebsd-version.sh
|
||||
NEWVERS = ${.CURDIR}/../../sys/conf/newvers.sh
|
||||
|
@ -100,13 +100,13 @@ and the kernel.
|
||||
.Sh EXAMPLES
|
||||
To determine the version of the currently running userland:
|
||||
.Bd -literal -offset indent
|
||||
/libexec/freebsd-version -u
|
||||
/bin/freebsd-version -u
|
||||
.Ed
|
||||
.Pp
|
||||
To inspect a system being repaired using a live CD:
|
||||
.Bd -literal -offset indent
|
||||
mount -rt ufs /dev/ada0p2 /mnt
|
||||
env ROOT=/mnt /mnt/libexec/freebsd-version -ku
|
||||
env ROOT=/mnt /mnt/bin/freebsd-version -ku
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr uname 1 ,
|
@ -8,7 +8,6 @@ SUBDIR= ${_atf} \
|
||||
bootpd \
|
||||
${_comsat} \
|
||||
fingerd \
|
||||
freebsd-version \
|
||||
ftpd \
|
||||
getty \
|
||||
${_mail.local} \
|
||||
|
Loading…
Reference in New Issue
Block a user