D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
etc
/
cron.weekly
/
Filename :
fstrim
back
Copy
#!/bin/sh # Prevent fstrim to run inside a container environment (LP: #1589289) if /usr/bin/systemd-detect-virt -q -c; then exit 0 fi # trim all mounted file systems which support it /sbin/fstrim --all || true