Module Name: src
Committed By: maxv
Date: Mon May 13 18:53:10 UTC 2019
Modified Files:
src/etc/rc.d: smtoff
Log Message:
Remove comment, since there is no parsing anymore.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/smtoff
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/rc.d/smtoff
diff -u src/etc/rc.d/smtoff:1.3 src/etc/rc.d/smtoff:1.4
--- src/etc/rc.d/smtoff:1.3 Sun May 12 11:55:47 2019
+++ src/etc/rc.d/smtoff Mon May 13 18:53:10 2019
@@ -1,6 +1,6 @@
#!/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.
#
@@ -46,15 +46,6 @@ GetSmtId() {
done
}
-#
-# The format of the output (without -n) would be:
-#
-# hw.ncpu = 80
-#
-# so use -n to make life easy
-#
-# Return the value.
-#
CountCPUs() {
sysctl -n hw.ncpu
}