* Atomically update grub/menu.lst (although we really need an fsync here).
svn path=/nixos/trunk/; revision=15368
This commit is contained in:
parent
38d7e7b780
commit
2cd1e7239f
@ -147,4 +147,6 @@ for generation in $(
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
cp $tmp $target
|
# Atomically update /boot/grub/menu.lst. !!! should do an fsync()
|
||||||
|
# here on $tmp, especially on ext4.
|
||||||
|
mv $tmp $target
|
||||||
|
Loading…
Reference in New Issue
Block a user