This commit is contained in:
Brad Stein 2025-07-05 14:02:03 -05:00
parent a1d6728c59
commit f04fc1c02a

View File

@ -160,6 +160,7 @@ mkdir -p "$F/control/header/h" # real dir must exist first
# The kernel may need a few ms to add class/{fs,hs,ss}; wait and link
for s in fs hs ss; do
mkdir -p "$F/control/class/$s"
# give the kernel up to 0.5s to create the directory
for _ in {1..50}; do
[[ -d "$F/control/class/$s" ]] && break