summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-09-08 17:36:20 -0400
committerThomas Bächler <thomas@archlinux.org>2010-09-08 23:44:21 +0200
commita7fde2a54bec29b8c56f641c0eca46a24fabda2c (patch)
treee2bb7cf43e8dda15aac4bd5c902aa092337e8bd5
parentcf20e8cb9244808f72093a3052c5b0d22e5c81f6 (diff)
rc.sysinit: condense calls to mkdir and chmod
-rwxr-xr-xrc.sysinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index dc916a2..09d5e97 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -279,8 +279,7 @@ stat_busy "Removing Leftover Files"
: >| /var/run/utmp
/bin/chmod 0664 /var/run/utmp
# Keep {x,k,g}dm happy with xorg
-/bin/mkdir /tmp/.ICE-unix && /bin/chmod 1777 /tmp/.ICE-unix
-/bin/mkdir /tmp/.X11-unix && /bin/chmod 1777 /tmp/.X11-unix
+/bin/mkdir -m1777 /tmp/.{X11,ICE}-unix
stat_done
#status "Updating Shared Library Links" /sbin/ldconfig