|
#!/bin/sh
|
|
|
|
# NOTE: we only trim things inside /etc/fstab to avoid ZFS mount paths
|
|
# (they will be handled by `zpool trim` cron job)
|
|
|
|
# This needs fstrim from util-linux package.
|
|
# For busybox's fstrim, use multiple 'fstrim /mount_point'.
|
|
exec /sbin/fstrim -A
|