Files
OpenBMC/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init/20-udev
T
2026-04-23 17:07:55 +08:00

10 lines
227 B
Bash

#!/bin/sh
# We need to run udevd in order to get the /dev/mtd volumes to show up.
if udevd --daemon; then
udevadm trigger --type=devices --action=add && \
udevadm settle --timeout=10
udevadm control --exit
fi