|
Last change
on this file since 24015 was 24015, checked in by nit, 13 years ago |
|
[titan] fix hbbtv update (no space in /tmp)
|
-
Property svn:executable
set to
*
|
|
File size:
407 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.