add /sbin to PATH, the location of sysctl(8) may changed in future
use shell builtin 'exec' for last command
This commit is contained in:
parent
0a9d630ea8
commit
b2715e9ada
@ -32,9 +32,9 @@
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# @(#)pagesize.sh 8.1 (Berkeley) 4/3/94
|
||||
# $Id$
|
||||
#
|
||||
|
||||
PATH=/bin:/usr/bin:/usr/sbin
|
||||
export PATH
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin; export PATH
|
||||
|
||||
sysctl -n hw.pagesize
|
||||
exec sysctl -n hw.pagesize
|
||||
|
Loading…
Reference in New Issue
Block a user