From 13dbe73782c3555b382ea8ebd9cda34ac9ef5744 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Tue, 5 Jun 2018 15:47:09 +0200 Subject: [PATCH] busybox: reduce number of mkdir calls in inittab The default busybox inittab does two separate mkdir calls to create /dev/pts and /dev/shm. Reduce this to call mkdir only once for both directories. Signed-off-by: Florian La Roche Signed-off-by: Thomas Petazzoni --- package/busybox/inittab | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/busybox/inittab b/package/busybox/inittab index ef58c32f0d..7cd203de0b 100644 --- a/package/busybox/inittab +++ b/package/busybox/inittab @@ -16,8 +16,7 @@ # Startup the system ::sysinit:/bin/mount -t proc proc /proc ::sysinit:/bin/mount -o remount,rw / -::sysinit:/bin/mkdir -p /dev/pts -::sysinit:/bin/mkdir -p /dev/shm +::sysinit:/bin/mkdir -p /dev/pts /dev/shm ::sysinit:/bin/mount -a null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin -- 2.30.2