aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 941808c..63e35b3 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,8 @@ Options:
Environment:
- `INITRD` initrd to inspect (default `/boot/initrd-generic.img`)
+- `LOG` append the whole run, slackpkg output included, to this file
+ (default `/var/log/dist-upgrade.log`; set it empty to disable)
## What it does
@@ -33,7 +35,11 @@ Environment:
- the modules `mkinitrd_command_generator.sh` says are needed against the
initrd's contents,
- the module set against the pre-upgrade snapshot (notices modules lost).
-4. Reports whether a reboot is recommended.
+4. Lists any leftover `.new` config files.
+5. Reports whether a reboot is recommended.
+
+The full run is appended to `LOG`, with a timestamped header per run, so an
+unattended upgrade can be reviewed afterwards.
If slackpkg upgrades itself mid-run (exit status 50) the script re-executes
once from the top to finish the operation, exactly as slackpkg's own message