[arch-general] [PATCH] rc.sysinit: condense calls to mkdir and chmod
Dave Reisner
d at falconindy.com
Wed Sep 8 17:36:20 EDT 2010
---
rc.sysinit | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit
index f7df48c..bee4efb 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -276,8 +276,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
--
1.7.2.3
More information about the arch-general
mailing list