mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
growfs script: fixes
Cannot use single quote in comment in awk script; add growfs_fstab to Makefile Fixes: 4a30d7bb373c,d670a8f7c596
This commit is contained in:
parent
e35cfc606a
commit
4c8a257810
|
@ -35,6 +35,7 @@ CONFS= DAEMON \
|
|||
ggated \
|
||||
gptboot \
|
||||
growfs \
|
||||
growfs_fstab \
|
||||
hostid \
|
||||
hostid_save \
|
||||
hostname \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue