aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslinux/update-extlinux
diff options
context:
space:
mode:
Diffstat (limited to 'main/syslinux/update-extlinux')
-rwxr-xr-xmain/syslinux/update-extlinux2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux
index 2de06e259a..157d33529f 100755
--- a/main/syslinux/update-extlinux
+++ b/main/syslinux/update-extlinux
@@ -78,6 +78,8 @@ fi
everbose "Installing $syslinux_menu to /boot."
cp /usr/share/syslinux/vesamenu.c32 /boot
+umask 0022
+rm -f $conf.new
echo "# Generated by update-extlinux" > $conf.new
echo "DEFAULT $syslinux_menu" >> $conf.new
echo "PROMPT 0" >> $conf.new