Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=bmf.git;a=commitdiff;h=c181ff47e163317b7d7204897a705a8312e47218
commit c181ff47e163317b7d7204897a705a8312e47218 Author: crazy <[email protected]> Date: Wed Jan 13 16:05:29 2016 +0100 grub2-2.00-20-x86_64 * just remove audit=0 from GRUB_CMDLINE_LINUX diff --git a/source/base/grub2/grub2.install b/source/base/grub2/grub2.install index 3d8b621..317bb35 100644 --- a/source/base/grub2/grub2.install +++ b/source/base/grub2/grub2.install @@ -18,7 +18,7 @@ post_upgrade() { ## empty GRUB_CMDLINE_LINUX=".." , yeah I know , however - sed -i 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=""/g' /etc/default/grub + sed -i 's/GRUB_CMDLINE_LINUX="audit=0/GRUB_CMDLINE_LINUX="/g' /etc/default/grub if grep -q "audit=0 audit=0" /etc/default/grub ; then echo "Updating kernel cmdline to include audit=0 only once" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
