#!/bin/sh echo Use Install Dest: $1 echo Start Install Script: $0 if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then opkg update # opkg install titan-plugin-player-hbbtv --dest $1 opkg install webkit-hbbtv-plugin else INSTDIR="$1" PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv" sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run" rm -rf /var/usr/lib/gstreamer-0.10 ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib #model=`cat /etc/model` #if [ "$model" = "ufs910" ];then # if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then # echo "umount /tmp (60mb)" # umount /tmp # rm -f /tmp/.tmp60mb # fi #fi fi exit 0