Ignore:
Timestamp:
09/27/13 21:33:03 (11 years ago)
Author:
obi
Message:

[tpk] hbbtv, screensaver/hotgirls ufs910 install

Location:
ipk/source/screensaver_hotgirls_1_0/CONTROL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/screensaver_hotgirls_1_0/CONTROL/postinst

    r23605 r23955  
    11#!/bin/sh
    22
     3model=`cat /etc/model`
     4
     5if [ "$model" = "ufs910" ];then
     6        if [ -e /var/swapdir/swapfile ];then
     7                echo "umount /tmp (60mb)"
     8                umount /tmp
     9        fi
     10fi
     11
    312exit 0
  • ipk/source/screensaver_hotgirls_1_0/CONTROL/preinst

    r23608 r23955  
    11#!/bin/sh
    22
     3model=`cat /etc/model`
     4
     5if [ "$model" = "ufs910" ];then
     6        if [ -e /var/swapdir/swapfile ];then
     7                echo "mount /tmp (60mb)"
     8                mount -t tmpfs -o remount,size=60m,mode=1777 tmp /tmp
     9        else
     10                echo "Error, please use swapdir/swapfile and try again !"
     11                exit 1
     12        fi
     13fi
     14
    315exit 0
Note: See TracChangeset for help on using the changeset viewer.