* Atomically update grub/menu.lst (although we really need an fsync here).

svn path=/nixos/trunk/; revision=15368
This commit is contained in:
Eelco Dolstra 2009-04-28 13:43:03 +00:00
parent 38d7e7b780
commit 2cd1e7239f
1 changed files with 3 additions and 1 deletions

View File

@ -147,4 +147,6 @@ for generation in $(
done
cp $tmp $target
# Atomically update /boot/grub/menu.lst. !!! should do an fsync()
# here on $tmp, especially on ext4.
mv $tmp $target