Current Path : /snap/core22/1621/bin/ |
Current File : //snap/core22/1621/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