Commit aa5491c6 authored by Franco Fichtner's avatar Franco Fichtner

rc: exlude the old use_mfs_tmp_size / use_mfs_var_size options; closes #1485

(cherry picked from commit 66de2bde)
parent d9ff61cb
...@@ -155,8 +155,8 @@ remove_mfs_link() ...@@ -155,8 +155,8 @@ remove_mfs_link()
} }
# pre-17.1 compat: use_mfs_tmpvar matches both patterns # pre-17.1 compat: use_mfs_tmpvar matches both patterns
USE_MFS_VAR=`/usr/bin/grep -c 'use_mfs_.*var' /conf/config.xml` USE_MFS_VAR=`/usr/bin/grep -c 'use_mfs_.*var[^_]' /conf/config.xml`
USE_MFS_TMP=`/usr/bin/grep -c 'use_mfs_tmp' /conf/config.xml` USE_MFS_TMP=`/usr/bin/grep -c 'use_mfs_tmp[^_]' /conf/config.xml`
if [ ${USE_MFS_TMP} -ne 0 ]; then if [ ${USE_MFS_TMP} -ne 0 ]; then
mount -t tmpfs -o mode=01777 tmpfs /tmp mount -t tmpfs -o mode=01777 tmpfs /tmp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment