|
Last change
on this file since 24607 was 24607, checked in by obi, 12 years ago |
|
[tpk] remove ram work ufs910
|
-
Property svn:executable
set to
*
|
|
File size:
418 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | INSTDIR="$1"
|
|---|
| 3 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
|
|---|
| 4 |
|
|---|
| 5 | rm -rf "$PLUGINDIR" >/dev/null 2>&1
|
|---|
| 6 |
|
|---|
| 7 | #model=`cat /etc/model`
|
|---|
| 8 |
|
|---|
| 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
|
|---|
| 19 |
|
|---|
| 20 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.