diff options
author | lcapriotti <lcapriotti@svn> | 2009-11-23 13:35:42 +0000 |
---|---|---|
committer | lcapriotti <lcapriotti@svn> | 2009-11-23 13:35:42 +0000 |
commit | e649208899ba4ad6613b7abb187e1c404aecd9c0 (patch) | |
tree | c9cda356ea9c6a9b1a3d17b0113e42d700a5db0a /tools/XBMCLive/xbmc-live.conf | |
parent | a8fdf0e9a67532a7d85d6ee1affbf0fa0fefe5d3 (diff) |
tmpfs support
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24927 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/XBMCLive/xbmc-live.conf')
-rw-r--r-- | tools/XBMCLive/xbmc-live.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/XBMCLive/xbmc-live.conf b/tools/XBMCLive/xbmc-live.conf index aaf29b2b5d..6d2bec0628 100644 --- a/tools/XBMCLive/xbmc-live.conf +++ b/tools/XBMCLive/xbmc-live.conf @@ -65,6 +65,15 @@ pre-start script fi fi + # Write fstab entries for ramdisks + if [ $(grep -i tempfs /tmp/xbmcliveParams) ]; then + if [ ! $(grep -i tmpfs /etc/fstab); then + echo "tmpfs /var/log tmpfs defaults 0 0" >> /etc/fstab + echo "tmpfs /tmp tmpfs defaults 0 0" >> /etc/fstab + echo "tmpfs /var/tmp tmpfs defaults 0 0" >> /etc/fstab + fi + fi + if [ ! `mount | grep iso9660` ]; then if [ ! $(grep -i noredir /tmp/xbmcliveParams) ]; then if [ -n "$BOOTMEDIAMOUNTPOINT" ]; then |