summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2008-03-18 22:43:38 +0200
committerRoman Kyrylych <roman@archlinux.org>2008-03-18 22:43:38 +0200
commit6e37620983c107e13120d1e249a37b3be6d0b12d (patch)
tree6ebd3926127ad6995373c0d9e3e52211ee65615f
parenta71b075e90154073e3ba331de9b74b8bc088ec45 (diff)
Do not try to create /dev/pts and /dev/shm twice2008.03-3
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
-rwxr-xr-xrc.sysinit5
1 files changed, 1 insertions, 4 deletions
diff --git a/rc.sysinit b/rc.sysinit
index cfbb58b..d175150 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -34,7 +34,6 @@ printsep
/bin/mkdir /dev/pts
/bin/mkdir /dev/shm
-
# start up our mini logger until syslog takes over
/sbin/minilogd
@@ -79,8 +78,6 @@ if [ -x /sbin/udevadm -a -d /sys/block ]; then
#status "Starting UDev Daemon" /etc/start_udev init
stat_busy "Starting UDev Daemon"
- /bin/mkdir /dev/pts
- /bin/mkdir /dev/shm
/sbin/udevd --daemon
stat_done
else
@@ -454,7 +451,7 @@ fi
# Save our dmesg output from this boot
if [ -f /var/log/dmesg.log ]; then
- /bin/rm /var/log/dmesg.log
+ /bin/rm /var/log/dmesg.log
fi
/bin/dmesg > /var/log/dmesg.log