mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-25 18:39:26 -05:00
consistent use of quotes
This commit is contained in:
parent
66ea1a3a12
commit
5f0dd8270b
@ -20,8 +20,8 @@ if mount | grep "${rootmnt}" | grep -q "(ro,"; then
|
|||||||
remount="yes"
|
remount="yes"
|
||||||
mount -o remount,rw "${rootmnt}"
|
mount -o remount,rw "${rootmnt}"
|
||||||
fi
|
fi
|
||||||
sysctl -p ${rootmnt}/etc/sysctl.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
|
sysctl -p ${rootmnt}/etc/sysctl.d/*.conf >/dev/null 2>> "${rootmnt}/var/log/sysctl-initramfs-error.log"
|
||||||
if [ "${remount}" = "yes" ]; then
|
if [ "${remount}" = "yes" ]; then
|
||||||
mount -o remount,ro "${rootmnt}"
|
mount -o remount,ro "${rootmnt}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user