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

Last change on this file was 46274, checked in by obi, 4 years ago

update lost files with install echo

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