aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-01 17:56:35 +0300
committerCem Keylan <cem@ckyln.com>2020-06-01 17:56:35 +0300
commit58862d66fb1e9fa5d6781c97ad5c04b0297a36fe (patch)
treebd53b7ecf484c5f404225812abd3304e0c9231ba
parentc3eadd27e1eb82e52ee9b801d57131d72ed41e01 (diff)
downloadinit-58862d66fb1e9fa5d6781c97ad5c04b0297a36fe.tar.gz
rc.lib: drop -m flag from 'mkdir'
-rwxr-xr-xrc.boot13
1 files changed, 4 insertions, 9 deletions
diff --git a/rc.boot b/rc.boot
index 9bba561..ac5b40e 100755
--- a/rc.boot
+++ b/rc.boot
@@ -1,5 +1,5 @@
#!/bin/sh
-# shellcheck disable=1090,1091,2174
+# shellcheck disable=1090,1091
# Read the configuration file and the library of
# common functions.
@@ -15,15 +15,10 @@ out "Mounting pseudo filesystems..."; {
mnt mode=0755,nosuid,nodev tmpfs run /run
mnt mode=0755,nosuid devtmpfs dev /dev
- mkdir -pm 0755 \
- /run/lvm \
- /run/user \
- /run/lock \
- /run/log \
- /dev/pts \
- /dev/shm
+ mkdir -p /run/lvs /run/user /run/lock \
+ /run/log /dev/pts /dev/shm
- command -v runsvdir >/dev/null 2>&1 && mkdir -pm 0755 /run/runit
+ command -v runsvdir >/dev/null 2>&1 && mkdir -p 0755 /run/runit
mnt mode=0620,gid=5,nosuid,noexec devpts devpts /dev/pts
mnt mode=1777,nosuid,nodev tmpfs shm /dev/shm