mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-24 19:19:24 -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"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user