summaryrefslogtreecommitdiffstats
path: root/files/post-functions.conf-sample
diff options
context:
space:
mode:
authorpiterpunk <piterpunk@slackware.com>2021-12-28 20:36:41 -0300
committerRobby Workman <rworkman@slackware.com>2022-01-16 02:54:16 -0600
commit9d5166d13bce28fee36327c1e00a66fcacb77025 (patch)
tree4c8b4599cb5eb3512b04f3b34f386929584e94cb /files/post-functions.conf-sample
parentf8dfb7722fe8f1b190450b2c9f83d16df8fa5fcb (diff)
downloadslackpkg-9d5166d13bce28fee36327c1e00a66fcacb77025.tar.xz
Unattended usage improvements
- When in batch mode, don't wait for <enter> after kernel upgrade, so Slackpkg will not wait forever. - Also in batch mode, allow to set a default action about what to do with .new config files
Diffstat (limited to 'files/post-functions.conf-sample')
-rw-r--r--files/post-functions.conf-sample7
1 files changed, 6 insertions, 1 deletions
diff --git a/files/post-functions.conf-sample b/files/post-functions.conf-sample
index 1cbe04a..79b5b1b 100644
--- a/files/post-functions.conf-sample
+++ b/files/post-functions.conf-sample
@@ -1,4 +1,4 @@
-# You can list here the .new files and the default action
+# You can list here the .new files and the default action
# to do for each file. The list format is:
#
# /full/path/of/dot/new/file.new:action
@@ -9,6 +9,11 @@
# R to Remove the new file
# K to Keep the current and the .new files
#
+# Using "default" as file name, you'll set the action for
+# the .new files in batch mode. The action for each file
+# takes precedence over the "default" one.
+#
# E.g:
#/etc/slackpkg/mirrors.new:K
#/etc/ntp.conf.new:R
+#default:O