Small fixes

This commit is contained in:
zador-blood-stained 2016-05-08 16:10:11 +03:00
parent 2eb461f3de
commit f284fea8b7
4 changed files with 75 additions and 81 deletions

View file

@ -249,7 +249,7 @@ index 3001ec5..dc76d3c
+
+bootfstype=\$(blkid -s TYPE -o value \$boot_partition)
+if [ "\$bootfstype" = "vfat" ]; then
+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/Image /boot/*nitrd*
+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/Image* /boot/*nitrd*
+fi
+}
+mountpoint -q /boot && check_and_unmount