Changeset 6519 for ipk/source


Ignore:
Timestamp:
Mar 20, 2011, 3:54:19 PM (15 years ago)
Author:
capt_bluebaer
Message:

Initial release, it's provided only for ufs910. if other 41-kernel-boxes should be supported, please edit the file preinst in the CONTROL dir for the corresponding box

Location:
ipk/source
Files:
2 added
5 edited

Legend:

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

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

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

    r4654 r6519  
    11#!/bin/sh
    2 TMP=/tmp/.keymaps
     2TMP=/tmp/.wlan
    33
    44echo "successfully removed"
     5
    56echo "syncing disk"
    67sync
    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
     8
    109if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    1110        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

    r5172 r6519  
    11#!/bin/sh
    22#
    3 TMP=/tmp/.keymaps
     3TMP=/tmp/.wlan
    44echo "syncing disk"
    55sync
     
    1010echo "Some Plugins will not work correctly on your $model!"
    1111echo ""
    12 if [ "$model" = "ufs910" ] || [ "$model" = "at7000" ] || [ "$model" = "at700" ] || [ "$model" = "at7500" ]; then
     12if [ "$model" = "ufs910" ] ; 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=15
    24         echo "checking freespace"
     23        SIZE=210
     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 fi   
    34 echo "installing keymap ..."
     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!"
     40fi
     41
    3542echo "checking OS"
    3643if  [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then                     
     
    4249        exit 1
    4350fi
    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
     51echo "installing wireless plugin ..."   sync
    4752exit 0
  • ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/prerm

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