diff options
Diffstat (limited to 'shutdown')
-rwxr-xr-x | shutdown | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -55,6 +55,12 @@ disassemble() { done } +printf '%s\n' 'Detaching loop devices.' + +for loop in loop*/loop; do + [ -e "$loop" ] && losetup -d "${loop%/loop}" +done + printf '%s\n' "Unmounting all devices." # unmount everything in /oldroot |