]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/grub
ddns: Update to 004.
[ipfire-2.x.git] / lfs / grub
index 8d5809975914611bf4a1a06532e209b767e62d6e..2b0544bd7c053cac6a754d2d2168b62f5410e5bc 100644 (file)
--- a/lfs/grub
+++ b/lfs/grub
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2012  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -92,5 +92,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
            [ -f $$i ] && cp -f $$i /boot/grub; \
        done
 
+       # generate default file
+       grub-set-default 0
+
+       # Disable PaX mprotect for grub
+       paxctl -m /usr/sbin/grub
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)