From 66ea1a3a127642c5515ac6fd80952a56568620bc Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 21 Mar 2020 14:14:15 -0400 Subject: [PATCH] minor --- etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs b/etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs index 9b5827b..7bd0ff6 100755 --- a/etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs +++ b/etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs @@ -20,8 +20,8 @@ if mount | grep "${rootmnt}" | grep -q "(ro,"; then remount="yes" mount -o remount,rw "${rootmnt}" fi -sysctl -p ${rootmnt}/etc/sysctl.conf >/dev/null 2>${rootmnt}/var/log/sysctl-initramfs-error.log -sysctl -p ${rootmnt}/etc/sysctl.d/*.conf >/dev/null 2>>${rootmnt}/var/log/sysctl-initramfs-error.log +sysctl -p ${rootmnt}/etc/sysctl.conf >/dev/null 2> ${rootmnt}/var/log/sysctl-initramfs-error.log +sysctl -p ${rootmnt}/etc/sysctl.d/*.conf >/dev/null 2>> ${rootmnt}/var/log/sysctl-initramfs-error.log if [ "${remount}" = "yes" ]; then mount -o remount,ro "${rootmnt}" fi