consistent use of quotes

This commit is contained in:
Patrick Schleizer 2020-03-21 14:14:35 -04:00
parent 66ea1a3a12
commit 5f0dd8270b
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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