]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
ensure /var/run/netreport dir exists
authorElan Ruusamäe <glen@delfi.ee>
Sat, 16 May 2015 08:03:05 +0000 (11:03 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 16 May 2015 08:03:05 +0000 (11:03 +0300)
rc.d/rc.sysinit

index 975336f0fe7dccea0dee7815152e912033900c10..f7f0eeae19ffc1dda0272ef78a1fc740fc683d07 100755 (executable)
@@ -1024,6 +1024,8 @@ mkdir -m 1777 -p /tmp/.ICE-unix > /dev/null 2>&1
 chown root:root /tmp/.ICE-unix
 is_yes "$SELINUX" && restorecon /tmp/.ICE-unix >/dev/null 2>&1
 
+test -d /var/run/netreport || mkdir -m 770 /var/run/netreport
+
 if ! is_yes "$VSERVER"; then
        enable_swap
 
This page took 0.277156 seconds and 4 git commands to generate.