99base/init: mount securityfs with source "securityfs" instead of dest

master
Harald Hoyer 2011-09-20 10:10:29 +02:00
parent ca8d4e8933
commit d63fdc1198
1 changed files with 1 additions and 1 deletions

View File

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