Use the right dir from fstab
This commit is contained in:
parent
94c6ff7bb7
commit
06902f5ff3
@ -31,7 +31,7 @@ single_user() {
|
||||
mount_svcdir() {
|
||||
local fs= fsopts="-o rw,noexec,nodev,nosuid" devdir="none" devtmp="none" x=
|
||||
local svcsize=${svcsize:-1024}
|
||||
local mntcmd=$(fstabinfo --mountcmd "${RC_LIBDIR}")
|
||||
local mntcmd=$(fstabinfo --mountcmd "${RC_SVCDIR}")
|
||||
|
||||
if grep -Eq "[[:space:]]+tmpfs$" /proc/filesystems ; then
|
||||
fs="tmpfs"
|
||||
|
Loading…
Reference in New Issue
Block a user