source: ipk/source.sh4/players_hbbtv/CONTROL/preinst@ 24015

Last change on this file since 24015 was 24015, checked in by nit, 13 years ago

[titan] fix hbbtv update (no space in /tmp)

  • Property svn:executable set to *
File size: 407 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
4
5rm -rf "$PLUGINDIR" >/dev/null 2>&1
6
7model=`cat /etc/model`
8
9if [ "$model" = "ufs910" ];then
10 if [ -e /var/swapdir/swapfile ];then
11 echo "mount /tmp (60mb)"
12 mount -t tmpfs -o remount,size=60m,mode=1777 tmp /tmp
13 touch /tmp/.tmp60mb
14 else
15 echo "Error, please use swapdir/swapfile and try again !"
16 exit 1
17 fi
18fi
19
20exit 0
Note: See TracBrowser for help on using the repository browser.