From: Stefan Reimer Date: Mon, 18 Feb 2013 11:05:23 +0000 (+0100) Subject: base/init.sh: create /run/log X-Git-Tag: 026~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a005c47763064b9690285b2c6d772fac8fdd477b;p=thirdparty%2Fdracut.git base/init.sh: create /run/log If the systemd module is not used /run/log is not created which results in dangeling softlink from /var/log which causes stuff to fail. --- diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh index 37b599674..fe69b3e1a 100755 --- a/modules.d/99base/init.sh +++ b/modules.d/99base/init.sh @@ -82,6 +82,7 @@ fi trap "emergency_shell Signal caught!" 0 [ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs +[ -d /run/log ] || mkdir -p -m 0755 /run/log export UDEVVERSION=$(udevadm --version) if [ $UDEVVERSION -gt 166 ]; then