If a process (maybe plymouth) was still pinning /oldroot, then shutdown would - kill -9 $pid - umount_a - umount_a in a very short timeframe. A small sleep hopefully lets the scheduler free up /oldroot in the mean time. |
||
|---|---|---|
| .. | ||
| module-setup.sh | ||
| shutdown.sh | ||