]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
base/init.sh: also mkdir /run/lock
authorHarald Hoyer <harald@redhat.com>
Wed, 9 Oct 2013 06:20:39 +0000 (08:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 9 Oct 2013 06:20:39 +0000 (08:20 +0200)
modules.d/99base/init.sh

index ae73fd2caae72b50797f190debb08013ff5c9f16..3ba440a06df94a259df4e4062df3fec763ece5bc 100755 (executable)
@@ -90,6 +90,7 @@ trap "action_on_fail Signal caught!" 0
 
 [ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
 [ -d /run/log ] || mkdir -p -m 0755 /run/log
+[ -d /run/lock ] || mkdir -p -m 0755 /run/lock
 
 export UDEVVERSION=$(udevadm --version)
 if [ $UDEVVERSION -gt 166 ]; then