summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-04-06 10:47:55 +0200
committerSimon Rettberg2022-04-06 10:47:55 +0200
commit21b16f249de9a8777e7df9e4baafe8e90915bd03 (patch)
tree9c5f706c48584e73c714fc56f71f9342e142ea52
parent[slx-splash] Fix size extraction by forcing grep into ASCII mode (diff)
downloadsystemd-init-21b16f249de9a8777e7df9e4baafe8e90915bd03.tar.gz
systemd-init-21b16f249de9a8777e7df9e4baafe8e90915bd03.tar.xz
systemd-init-21b16f249de9a8777e7df9e4baafe8e90915bd03.zip
[slx-network] Only show splash icons if requested
-rwxr-xr-xmodules.d/slx-network/scripts/setup-bootif-network.stage32
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-network/scripts/setup-bootif-network.stage3 b/modules.d/slx-network/scripts/setup-bootif-network.stage3
index 11b9b799..568c006c 100755
--- a/modules.d/slx-network/scripts/setup-bootif-network.stage3
+++ b/modules.d/slx-network/scripts/setup-bootif-network.stage3
@@ -19,7 +19,7 @@ fi
_splashtool() {
:
}
-if hash splashtool &> /dev/null; then
+if grep -wq splash /proc/cmdline && hash splashtool &> /dev/null; then
_splashtool() {
splashtool "$@"
}