git: a7fde0e0387d - stable/13 - growfs script: fixes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 20:59:44 UTC
The branch stable/13 has been updated by karels:
URL: https://cgit.FreeBSD.org/src/commit/?id=a7fde0e0387d38f07d914e810a1dae12399ef053
commit a7fde0e0387d38f07d914e810a1dae12399ef053
Author: Mike Karels <karels@FreeBSD.org>
AuthorDate: 2022-12-26 14:45:17 +0000
Commit: Mike Karels <karels@FreeBSD.org>
CommitDate: 2023-01-13 19:15:51 +0000
growfs script: fixes
Cannot use single quote in comment in awk script;
add growfs_fstab to Makefile
Fixes: 4a30d7bb373c,d670a8f7c596
(cherry picked from commit 4c8a257810a69264015e4912e02f8c2c837c792e)
---
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 0e7a04a5df1b..0c1106338378 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -36,6 +36,7 @@ CONFS= DAEMON \
geli2 \
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