aboutsummaryrefslogtreecommitdiffstats
path: root/remove-old-kernels.cron
diff options
context:
space:
mode:
authorBarry Jackson <barjac@mageia.org>2023-01-06 13:09:25 +0000
committerBarry Jackson <barjac@mageia.org>2023-01-06 13:09:25 +0000
commit493b6767202881487196455be5068f5115a23882 (patch)
tree0ac3097634d4f0ae0d7a493bd0056be0f7234b00 /remove-old-kernels.cron
parent329701021825904b92d63f781cab7d3f9b0b730b (diff)
downloadremove-old-kernels-493b6767202881487196455be5068f5115a23882.tar
remove-old-kernels-493b6767202881487196455be5068f5115a23882.tar.gz
remove-old-kernels-493b6767202881487196455be5068f5115a23882.tar.bz2
remove-old-kernels-493b6767202881487196455be5068f5115a23882.tar.xz
remove-old-kernels-493b6767202881487196455be5068f5115a23882.zip
change -A arguments to 0|1
Diffstat (limited to 'remove-old-kernels.cron')
-rw-r--r--remove-old-kernels.cron2
1 files changed, 1 insertions, 1 deletions
diff --git a/remove-old-kernels.cron b/remove-old-kernels.cron
index df583d8..a5c0098 100644
--- a/remove-old-kernels.cron
+++ b/remove-old-kernels.cron
@@ -13,6 +13,6 @@ if [[ -x /usr/sbin/remove-old-kernels ]]; then
cat $roktmplog > /var/log/remove-old-kernels.log && rm -f $roktmplog ) || fail="WARNING: log trim failed"
fi
echo -e "\n=========================== $(date +%d/%m/%Y-%H:%M) ===========================\n$fail" >> /var/log/remove-old-kernels.log
-# Use -c option to check that CRON=y is in the cfg file before running in auto mode.
+# Use -c option to check that CRON=1|y is in the cfg file before running in auto mode.
/usr/sbin/remove-old-kernels -c -m >> /var/log/remove-old-kernels.log
fi