From d17e5f0b6ff952108006e0c5f58724fa0784fd67 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 21 Aug 1996 16:31:34 +0000 Subject: [PATCH] Add /usr/sbin to sysctl because /usr/sbin not in standard path --- sys/conf/Makefile.i386 | 6 +++--- sys/conf/Makefile.powerpc | 6 +++--- sys/i386/conf/Makefile.i386 | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 3cac92b22b8..91d0712525d 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 3cac92b22b8..91d0712525d 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 / diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 3cac92b22b8..91d0712525d 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/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 /