Browse Source

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.
master
Stefan Reimer 12 years ago committed by Harald Hoyer
parent
commit
a005c47763
  1. 1
      modules.d/99base/init.sh

1
modules.d/99base/init.sh

@ -82,6 +82,7 @@ fi
trap "emergency_shell Signal caught!" 0 trap "emergency_shell Signal caught!" 0


[ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs [ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
[ -d /run/log ] || mkdir -p -m 0755 /run/log


export UDEVVERSION=$(udevadm --version) export UDEVVERSION=$(udevadm --version)
if [ $UDEVVERSION -gt 166 ]; then if [ $UDEVVERSION -gt 166 ]; then

Loading…
Cancel
Save