Project

General

Profile

« Previous | Next » 

Revision b9097e4c

Added by Christian McDonald about 3 years ago

Fix RAM disk support for ZFS layout changes related to BEs. Fixes #13182

View differences:

src/etc/skel/dot.shrc
35 35
fi
36 36

  
37 37
USE_MFS_TMPVAR=$(/usr/local/sbin/read_xml_tag.sh boolean system/use_mfs_tmpvar)
38
if [ "${USE_MFS_TMPVAR}" = "true" ] && [ ! -f /conf/ram_disks_failed ]; then
39
	export PKG_DBDIR='/root/var/db/pkg'
40
	export PKG_CACHEDIR='/root/var/cache/pkg'
41
fi
38
# if [ "${USE_MFS_TMPVAR}" = "true" ] && [ ! -f /conf/ram_disks_failed ]; then
39
# 	export PKG_DBDIR='/root/var/db/pkg'
40
# 	export PKG_CACHEDIR='/root/var/cache/pkg'
41
# fi
42 42

  
43 43
# Detect interactive logins and display the shell
44 44
unset _interactive

Also available in: Unified diff