aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-02 19:56:31 +0200
committerWynn Wolf Arbor2020-05-05 21:12:59 +0200
commit5f83bed1dee53d46411e3e56e812afa78cc3bc32 (patch)
tree2c8ba9a34d62ebf9fded5143f95d8c7a456df0bd
parentb6f8e3d1615e6928ae2bca50f6b28b2486876ff8 (diff)
downloadkern-5f83bed1dee53d46411e3e56e812afa78cc3bc32.tar.gz
Use consistent and explicit terminology in set_kernel()
With the introduction of the manuals, we realized that the term "active kernel" is ambiguous. It might refer to both the currently selected kernel in eselect and the kernel the system is running on at the moment. Use "selected" instead of "active" to make this more explicit and line it up with the usage in the manual.
-rwxr-xr-xkern4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern b/kern
index 12474f3..9686e57 100755
--- a/kern
+++ b/kern
@@ -36,10 +36,10 @@ set_kernel() {
fi
if test "$kern" = "$current"; then
- errx "Latest kernel already set: $kern"
+ errx "Latest kernel already selected: $kern"
fi
- printf "Setting active kernel: %s\n" "$kern"
+ printf "Selecting kernel: %s\n" "$kern"
sudo eselect kernel set "$kern"
sudo chown -R "$(id -un)":"$(id -gn)" "$kerndir"