From b654846c865ebc45e00185e2ed01810bf5bf01db Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 6 Aug 2017 21:21:51 +0100 Subject: [PATCH] Fix typo --- Makefile | 1 - src/freedombone-utils-setup | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 48abd4c0..42381cc9 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,6 @@ install: cp img/backgrounds/${APP}_*.png ${DESTDIR}${PREFIX}/share cp img/avatars/* ${DESTDIR}/usr/share/${APP}/avatars cp src/* ${DESTDIR}${PREFIX}/bin -# cp src/${APP}-controlpanel ${DESTDIR}${PREFIX}/bin/control cp src/${APP}-mesh-batman ${DESTDIR}${PREFIX}/bin/batman cp src/${APP}-backup-local ${DESTDIR}${PREFIX}/bin/backup cp src/${APP}-backup-local ${DESTDIR}${PREFIX}/bin/backup2friends diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index ecfe5d1f..d8d2704d 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -208,7 +208,7 @@ function install_backports_kernel { } function turn_off_rsys_logging { - if grep -q '/var/log/auth.log' /etc/rsyslog.conf; then + if grep -q '/dev/null' /etc/rsyslog.conf; then return fi sed -i 's|mail,news.none.*|mail,news.none /dev/null|g' /etc/rsyslog.conf @@ -270,7 +270,7 @@ function initial_setup { function setup_grub { if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then - if ! grep -q 'iframes=0' /etc/default/grub; then + if ! grep -q 'ifnames=0' /etc/default/grub; then sed -i 's|GRUB_CMDLINE_LINUX_DEFAULT=.*|GRUB_CMDLINE_LINUX_DEFAULT="quiet ifnames=0 slub_debug=FZP slab_nomerge page_poison=1"|g' /etc/default/grub update-grub fi