diff options
author | ache <ache@FreeBSD.org> | 1996-08-21 16:31:34 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-08-21 16:31:34 +0000 |
commit | 8f267c926d74ba97422489c097ed55a50448e4d6 (patch) | |
tree | 30988a3c199c1ef243e11b42a0404d7252ae0732 /sys/conf | |
parent | 82c1d5d3d3183af28503ff1fb4c30c9596aeb6e7 (diff) | |
download | FreeBSD-src-8f267c926d74ba97422489c097ed55a50448e4d6.zip FreeBSD-src-8f267c926d74ba97422489c097ed55a50448e4d6.tar.gz |
Add /usr/sbin to sysctl because /usr/sbin not in standard path
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.i386 | 6 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 3cac92b..91d0712 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.84 1996/06/08 23:27:16 jkh Exp $ +# $Id: Makefile.i386,v 1.85 1996/06/12 05:54:46 gpalmer Exp $ # # Makefile for FreeBSD # @@ -161,8 +161,8 @@ install: fi chflags noschg /kernel mv /kernel /kernel.old - if [ `sysctl -n kern.bootfile` = /kernel ] ; then \ - sysctl -w kern.bootfile=/kernel.old ; \ + if [ `/usr/sbin/sysctl -n kern.bootfile` = /kernel ] ; then \ + /usr/sbin/sysctl -w kern.bootfile=/kernel.old ; \ mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \ fi install -c -m 555 -o root -g wheel -fschg kernel / diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 3cac92b..91d0712 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.84 1996/06/08 23:27:16 jkh Exp $ +# $Id: Makefile.i386,v 1.85 1996/06/12 05:54:46 gpalmer Exp $ # # Makefile for FreeBSD # @@ -161,8 +161,8 @@ install: fi chflags noschg /kernel mv /kernel /kernel.old - if [ `sysctl -n kern.bootfile` = /kernel ] ; then \ - sysctl -w kern.bootfile=/kernel.old ; \ + if [ `/usr/sbin/sysctl -n kern.bootfile` = /kernel ] ; then \ + /usr/sbin/sysctl -w kern.bootfile=/kernel.old ; \ mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \ fi install -c -m 555 -o root -g wheel -fschg kernel / |