From 8e96dcf77126ed98dd0c1301790a02a4e8b27d5b Mon Sep 17 00:00:00 2001
From: Ricardo Martins <rasm@lsts.pt>
Date: Sun, 8 Feb 2015 15:53:32 +0000
Subject: [PATCH] filesystem: don't fail if /dev/pts exists.

---
 rules/filesystem/fs/sbin/services | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/filesystem/fs/sbin/services b/rules/filesystem/fs/sbin/services
index cb287d5..3b2537d 100755
--- a/rules/filesystem/fs/sbin/services
+++ b/rules/filesystem/fs/sbin/services
@@ -30,7 +30,7 @@ sysinit()
     # Mount pseudo-filesystems.
     mount -t sysfs sysfs /sys &&
     mount -t proc proc /proc &&
-    mkdir /dev/shm /dev/pts &&
+    mkdir -p /dev/shm /dev/pts &&
     mount -t tmpfs -o size="$cfg_tmpfs_size" tmpfs /dev/shm &&
     mount -t devpts devpts /dev/pts &&