sysvinit: reduce number of mkdir calls in inittab
authorCarlos Santos <casantos@datacom.com.br>
Mon, 11 Jun 2018 06:00:13 +0000 (03:00 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Jun 2018 09:22:34 +0000 (11:22 +0200)
commitdc267db6ab4d54ed3ddb582774fb51ef64332649
treea13226bebca8948765a84fcfaa78da475f5cf242
parent9a5c3d5bb40f31676cd9949e4e63d7f3d4f2f812
sysvinit: reduce number of mkdir calls in inittab

The default sysvinit inittab does two separate mkdir calls to create
/dev/pts and /dev/shm. Reduce this to call mkdir only once for both
directories.

This removes id "si3" but keeps ids "si4".."si9" intact rather than
renumbering them. This would just increase the turmoil without any
practical effect.

Based on commit e9db8122fb, by Florian La Roche <F.LaRoche@pilz.de>.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sysvinit/inittab