]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/dracut-cmdline.sh: create /run/log subdir
authorHarald Hoyer <harald@redhat.com>
Fri, 8 Feb 2013 13:18:25 +0000 (14:18 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 11 Feb 2013 10:49:19 +0000 (11:49 +0100)
modules.d/98systemd/dracut-cmdline.sh

index bfe2e433cc98ca7c35b942577a4f887173234a49..c32d5df71dd09008d3daed6318d8d17ff109c67f 100755 (executable)
@@ -7,6 +7,7 @@ export NEWROOT="/sysroot"
 [ -d $NEWROOT ] || mkdir -p -m 0755 $NEWROOT
 [ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
 [ -d /run/lock ] || mkdir -p -m 0755 /run/lock
+[ -d /run/log ] || mkdir -p -m 0755 /run/log
 
 if [ -f /dracut-state.sh ]; then
     . /dracut-state.sh 2>/dev/null