Use the right dir from fstab

This commit is contained in:
Roy Marples 2007-08-08 12:39:05 +00:00
parent 94c6ff7bb7
commit 06902f5ff3

View File

@ -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"