Remove comment, since there is no parsing anymore.
This commit is contained in:
parent
48e354a3ed
commit
0323b962b3
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $NetBSD: smtoff,v 1.3 2019/05/12 11:55:47 kre Exp $
|
# $NetBSD: smtoff,v 1.4 2019/05/13 18:53:10 maxv Exp $
|
||||||
#
|
#
|
||||||
# Public Domain.
|
# Public Domain.
|
||||||
#
|
#
|
||||||
|
@ -46,15 +46,6 @@ GetSmtId() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# The format of the output (without -n) would be:
|
|
||||||
#
|
|
||||||
# hw.ncpu = 80
|
|
||||||
#
|
|
||||||
# so use -n to make life easy
|
|
||||||
#
|
|
||||||
# Return the value.
|
|
||||||
#
|
|
||||||
CountCPUs() {
|
CountCPUs() {
|
||||||
sysctl -n hw.ncpu
|
sysctl -n hw.ncpu
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue