Changeset 6522


Ignore:
Timestamp:
Mar 20, 2011, 4:36:22 PM (15 years ago)
Author:
capt_bluebaer
Message:

[ipk] undo undesigned modifications

Location:
ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/control

    r6519 r6522  
    1 Package: enigma2-plugin-swapnetwork-wlan
    2 Version: 3.0
    3 Description: !!!ONLY FOR UFS910 !!! network connections via usb wireless adapters based on zydas and ralink(-n) chipsets
    4 Section: network
     1Package: enigma2-plugin-keymaps-ufs910.at7000.at700.neutrino
     2Version: 1.3
     3Description: !!!ONLY FOR UFS910 , AT7000 or AT 700!!! With "Neutrino Keymap" the assignment of keys is neutrino like
     4Section: keymaps
    55Priority: optional
    66Maintainer: AAF Forum
    77Architecture: sh4
    8 OE: WLAN plugin for swapstick
     8OE: keymaps
    99Homepage: http://www.aaf-digital.info
    1010Depends:
  • ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/postinst

    r6519 r6522  
    11#!/bin/sh
    2 TMP=/tmp/.wlan
     2TMP=/tmp/.keymaps
    33echo "successfully installed"
    44echo "syncing disk"
     
    99        echo new freespace size $FREE kb
    1010fi
    11 echo "please plug your wifi adapter in a free usb port and reboot your box"
    1211exit 0
  • ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/postrm

    r6519 r6522  
    11#!/bin/sh
    2 TMP=/tmp/.wlan
     2TMP=/tmp/.keymaps
    33
    44echo "successfully removed"
    5 
    65echo "syncing disk"
    76sync
    8 
     7        echo "restoring keymap.xml.neutrino -> keymap.xml"
     8        mv /var/usr/local/share/enigma2/keymap.xml.neutrino /var/usr/local/share/enigma2/keymap.xml
     9        sync
    910if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    1011        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
  • ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/preinst

    r6519 r6522  
    11#!/bin/sh
    22#
    3 TMP=/tmp/.wlan
     3TMP=/tmp/.keymaps
    44echo "syncing disk"
    55sync
     
    1010echo "Some Plugins will not work correctly on your $model!"
    1111echo ""
    12 if [ "$model" = "ufs910" ] ; then
     12if [ "$model" = "ufs910" ] || [ "$model" = "at7000" ] || [ "$model" = "at700" ] || [ "$model" = "at7500" ]; then
    1313        echo "Boxtype: $model OK"
    1414else
     
    2121        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
    2222        FREE=`expr $SPACE - 100`
    23         SIZE=210
    24         echo "checking freespace..."
     23        SIZE=15
     24        echo "checking freespace"
    2525        echo packege size $SIZE kb
    2626        echo freespace size $FREE kb
    2727        if  [ "$FREE" -lt "$SIZE" ]; then
    28                 echo "sorry no freespace left on device!"
     28                echo "sorry no freespace left on device"
    2929                exit 1
    3030        else
    3131                echo ok
    3232        fi
    33 
    34         echo "checking swapstick..."
    35         if [ ! -d /var/swap/bin/ ]; then
    36             echo "no swapstick found!"
    37             exit 1
    38         fi
    39         echo "swapstick found!"
    40 fi
    41 
     33fi   
     34echo "installing keymap ..."
    4235echo "checking OS"
    4336if  [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then                     
     
    4942        exit 1
    5043fi
    51 echo "installing wireless plugin ..."   sync
     44        echo "backing up keymap.xml -> keymap.xml.neutrino"
     45        mv /var/usr/local/share/enigma2/keymap.xml /var/usr/local/share/enigma2/keymap.xml.neutrino
     46        sync
    5247exit 0
  • ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/prerm

    r6519 r6522  
    11#!/bin/sh
    2 TMP=/tmp/.wlan
     2TMP=/tmp/.keymaps
    33echo "syncing disk"
    44sync
     
    88        echo freespace size $FREE kb
    99fi
    10 echo "removing wireless plugin"
     10echo "removing keymap"
    1111exit 0
Note: See TracChangeset for help on using the changeset viewer.