source: ipk/source.sh4/playersnp_hbbtv/CONTROL/preinst@ 46200

Last change on this file since 46200 was 45684, checked in by obi, 4 years ago

fix last commit

  • Property svn:executable set to *
File size: 418 bytes
RevLine 
[17595]1#!/bin/sh
[24015]2INSTDIR="$1"
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
[17595]4
[24015]5rm -rf "$PLUGINDIR" >/dev/null 2>&1
6
[24607]7#model=`cat /etc/model`
[23955]8
[45684]9#if [ "$model" = "ufs910" ];then
10# if [ -e /var/swapdir/swapfile ];then
[24607]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
18#fi
[23955]19
[17595]20exit 0
Note: See TracBrowser for help on using the repository browser.