]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/boot.d/01-unmountinitrd
2 # Unmount the initrd, if necessary
3 if grep -q /initrd
/proc
/mounts
&& ! grep -q /initrd
/loopfs
/proc
/mounts
; then
4 umount
/initrd
>/dev
/null
2>&1
5 blockdev
--flushbufs /dev
/ram0
>/dev
/null
2>&1