aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d
diff options
context:
space:
mode:
authorMike Karels <karels@FreeBSD.org>2022-12-26 14:45:17 +0000
committerMike Karels <karels@FreeBSD.org>2022-12-26 14:51:09 +0000
commit4c8a257810a69264015e4912e02f8c2c837c792e (patch)
tree02a582029b69fcb710dafdd49ba3bbe2919353a7 /libexec/rc/rc.d
parente35cfc606a299ef40767e708362529c370f767f5 (diff)
downloadsrc-4c8a257810a69264015e4912e02f8c2c837c792e.tar.gz
src-4c8a257810a69264015e4912e02f8c2c837c792e.zip
growfs script: fixes
Cannot use single quote in comment in awk script; add growfs_fstab to Makefile Fixes: 4a30d7bb373c,d670a8f7c596
Diffstat (limited to 'libexec/rc/rc.d')
-rw-r--r--libexec/rc/rc.d/Makefile1
-rwxr-xr-xlibexec/rc/rc.d/growfs2
2 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index e990dea60721..703668ef4dd5 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -35,6 +35,7 @@ CONFS= DAEMON \
ggated \
gptboot \
growfs \
+ growfs_fstab \
hostid \
hostid_save \
hostname \
diff --git a/libexec/rc/rc.d/growfs b/libexec/rc/rc.d/growfs
index 3c48a7dca6b2..3c738e24177e 100755
--- a/libexec/rc/rc.d/growfs
+++ b/libexec/rc/rc.d/growfs
@@ -200,7 +200,7 @@ growfs_start()
disksize = size[lvl]
if (verbose)
print "disksize ", disksize
- # Don't add swap on disks under 15 GB (decimal) by default.
+ # Do not add swap on disks under 15 GB (decimal) by default.
if (addswap == 1 && (size[lvl] > 15000000000 || swapsize > 0))
doing_swap = 1
else