
| Current Path : /proc/thread-self/root/snap/core24/1499/bin/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //proc/thread-self/root/snap/core24/1499/bin/splash-client |
#!/bin/bash -eu
# Seed change is "Initialize system state"
msg=
prev_msg=
while true; do
sleep 0.5
msg=$(snap change --abs-time '--last=seed?' |
awk -F ' +' '$1 == "Doing" { print substr($0, index($0, $4)); exit }') \
|| true
if [ "$msg" != "$prev_msg" ] && [ -n "$msg" ]; then
plymouth display-message --text "$msg"
prev_msg=$msg
fi
done