aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Jackson <barjac@mageia.org>2023-01-10 15:31:05 +0000
committerBarry Jackson <barjac@mageia.org>2023-01-10 15:31:05 +0000
commit0ca75cc60e63b4dabcae5a45c43cf55ba13e6970 (patch)
treeb4ce04e1bcc184af9592f443fb0a19035d3080a0
parenta6cc829a129a6a209f22c8118f2cab3db26081c7 (diff)
downloadremove-old-kernels-0.99.18.tar
remove-old-kernels-0.99.18.tar.gz
remove-old-kernels-0.99.18.tar.bz2
remove-old-kernels-0.99.18.tar.xz
remove-old-kernels-0.99.18.zip
update .cfg file and alt template0.99.18
-rw-r--r--remove-old-kernels.cfg2
-rw-r--r--remove-old-kernels_N.cfg.template7
2 files changed, 6 insertions, 3 deletions
diff --git a/remove-old-kernels.cfg b/remove-old-kernels.cfg
index d2fc68e..329be44 100644
--- a/remove-old-kernels.cfg
+++ b/remove-old-kernels.cfg
@@ -39,7 +39,7 @@ kernel-linus-devel
kernel-linus-source
"
-# Allow cron to run 'remove-old-kernels' weekly. Replace '1' with '0' to disable it.
+# Allow cron to run remove-old-kernels. 0=OFF 1=ON.
CRON=1
# Turn on the advanced mode. [0|1] (1 is ON)
diff --git a/remove-old-kernels_N.cfg.template b/remove-old-kernels_N.cfg.template
index a33df79..b5bfcc1 100644
--- a/remove-old-kernels_N.cfg.template
+++ b/remove-old-kernels_N.cfg.template
@@ -16,12 +16,15 @@
NBK=3
# Handy info: https://misc.flogisoft.com/bash/tip_colors_and_formatting#colors
+# The Heading background is changed to blue in this template, the normal green is commented.
+
# Colours for display Defaults Used for
Normal="\e[0m"
KeepCol="\e[92m" # Light Green Keep text
RemvCol="\e[91m" # Light Red Remove text
InfoCol="\e[33m" # Orange Information text
-HdBgCol="\e[102;30m" # Light Green Background Heading background
+#HdBgCol="\e[102;30m" # Light Green Background Heading background
+HdBgCol="\e[44m" # Blue Background Heading background
WarnBgCol="\e[101m" # Light Red Background Warnings in heading
ClearLine="\r\e[2K" # Clear the line
@@ -41,7 +44,7 @@ kernel-linus-devel
kernel-linus-source
"
-# Allow cron to run 'remove-old-kernels' weekly. Replace '1' with '0' to disable it.
+# Allow cron to run remove-old-kernels. 0=OFF 1=ON.
CRON=1
# Turn on the advanced mode. [0|1] (1 is ON)