git: 4c8a257810a6 - main - growfs script: fixes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Dec 2022 14:51:16 UTC
The branch main has been updated by karels:
URL: https://cgit.FreeBSD.org/src/commit/?id=4c8a257810a69264015e4912e02f8c2c837c792e
commit 4c8a257810a69264015e4912e02f8c2c837c792e
Author: Mike Karels <karels@FreeBSD.org>
AuthorDate: 2022-12-26 14:45:17 +0000
Commit: Mike Karels <karels@FreeBSD.org>
CommitDate: 2022-12-26 14:51:09 +0000
growfs script: fixes
Cannot use single quote in comment in awk script;
add growfs_fstab to Makefile
Fixes: 4a30d7bb373c,d670a8f7c596
---
libexec/rc/rc.d/Makefile | 1 +
libexec/rc/rc.d/growfs | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
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