]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/boot.d/01-unmountinitrd
Ein NTFS-Update fuer den Heiner :D
[people/pmueller/ipfire-2.x.git] / src / boot.d / 01-unmountinitrd
1 #!/bin/sh
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
6 fi