99base/init: mount securityfs with source "securityfs" instead of dest
parent
ca8d4e8933
commit
d63fdc1198
|
|
@ -89,7 +89,7 @@ RD_DEBUG=""
|
||||||
SECURITYFSDIR="/sys/kernel/security"
|
SECURITYFSDIR="/sys/kernel/security"
|
||||||
export SECURITYFSDIR
|
export SECURITYFSDIR
|
||||||
if ! ismounted "${SECURITYFSDIR}"; then
|
if ! ismounted "${SECURITYFSDIR}"; then
|
||||||
mount -t securityfs -o nosuid,noexec,nodev ${SECURITYFSDIR} ${SECURITYFSDIR} >/dev/null 2>&1
|
mount -t securityfs -o nosuid,noexec,nodev securityfs ${SECURITYFSDIR} >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x /lib/systemd/systemd-timestamp ]; then
|
if [ -x /lib/systemd/systemd-timestamp ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue