Update boot theme
This commit is contained in:
@@ -29,6 +29,12 @@ _trsvcid=${_rest##*,}
|
||||
# nvme_tcp is usually auto-loaded; ensure it so /dev/nvme-fabrics exists.
|
||||
modprobe nvme_tcp 2>/dev/null
|
||||
|
||||
# Best-effort boot-splash status for the 'fleet' Plymouth theme (never fatal). By
|
||||
# the time this runs the ip=dhcp link is up, so mark Network done and NVMe active.
|
||||
ply() { plymouth update --status="$1" 2>/dev/null || true; }
|
||||
ply net-done
|
||||
ply nvme-active
|
||||
|
||||
# Keep-alive / reconnect tuning for the ROOT device. These persist across
|
||||
# switch-root (the in-kernel nvme-tcp controller and its opts survive).
|
||||
# -k 30 keep-alive timeout (s). The 5s default means a KA every 2.5s; under
|
||||
@@ -53,6 +59,7 @@ while [ "$_i" -lt 60 ]; do
|
||||
if [ -b "$_ns" ]; then
|
||||
mkdir -p /run/dot1x
|
||||
: > /run/dot1x/.nvmf-connected
|
||||
ply nvme-done
|
||||
echo "nvmf-connect: connected ${_trtype}/${_traddr}/${_trsvcid} ($_ns)"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user