Use checkpath to create /run/lock
This commit is contained in:
parent
5ed4d084d9
commit
b42ab3b2f4
@ -18,13 +18,7 @@ if [ -d /run ]; then
|
|||||||
fi
|
fi
|
||||||
eend $?
|
eend $?
|
||||||
fi
|
fi
|
||||||
if [ ! -d /run/lock ]; then
|
checkpath -d -m 0775 -o root:uucp /run/lock
|
||||||
mkdir /run/lock
|
|
||||||
fi
|
|
||||||
if [ -d /run/lock ]; then
|
|
||||||
chown root:uucp /run/lock
|
|
||||||
chmod 0775 /run/lock
|
|
||||||
fi
|
|
||||||
elif [ -e /run ]; then
|
elif [ -e /run ]; then
|
||||||
einfo "Unable to mount /run since it is not a directory"
|
einfo "Unable to mount /run since it is not a directory"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user