Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /snap/core22/current/bin/ |
Upload File : |
#!/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