Ignore:
Timestamp:
Oct 25, 2013, 7:53:45 PM (12 years ago)
Author:
obi
Message:

[tpk] remove ram work ufs910

Location:
ipk/source.sh4/players_hbbtv/CONTROL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/players_hbbtv/CONTROL/postinst

    r24155 r24607  
    88ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib
    99
    10 model=`cat /etc/model`
     10#model=`cat /etc/model`
    1111
    12 if [ "$model" = "ufs910" ];then
    13         if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
    14                 echo "umount /tmp (60mb)"
    15                 umount /tmp
    16                 rm -f /tmp/.tmp60mb
    17         fi
    18 fi
     12#if [ "$model" = "ufs910" ];then
     13#       if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
     14#               echo "umount /tmp (60mb)"
     15#               umount /tmp
     16#               rm -f /tmp/.tmp60mb
     17#       fi
     18#fi
    1919
    2020exit 0
  • ipk/source.sh4/players_hbbtv/CONTROL/preinst

    r24015 r24607  
    55rm -rf "$PLUGINDIR" >/dev/null 2>&1
    66
    7 model=`cat /etc/model`
     7#model=`cat /etc/model`
    88
    9 if [ "$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
    18 fi
     9#if [ "$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
     18#fi
    1919
    2020exit 0
Note: See TracChangeset for help on using the changeset viewer.