- Timestamp:
- Mar 20, 2011, 3:54:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/preinst
r5172 r6519 1 1 #!/bin/sh 2 2 # 3 TMP=/tmp/. keymaps3 TMP=/tmp/.wlan 4 4 echo "syncing disk" 5 5 sync … … 10 10 echo "Some Plugins will not work correctly on your $model!" 11 11 echo "" 12 if [ "$model" = "ufs910" ] || [ "$model" = "at7000" ] || [ "$model" = "at700" ] || [ "$model" = "at7500" ]; then12 if [ "$model" = "ufs910" ] ; then 13 13 echo "Boxtype: $model OK" 14 14 else … … 21 21 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 22 22 FREE=`expr $SPACE - 100` 23 SIZE= 1524 echo "checking freespace "23 SIZE=210 24 echo "checking freespace..." 25 25 echo packege size $SIZE kb 26 26 echo freespace size $FREE kb 27 27 if [ "$FREE" -lt "$SIZE" ]; then 28 echo "sorry no freespace left on device "28 echo "sorry no freespace left on device!" 29 29 exit 1 30 30 else 31 31 echo ok 32 32 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!" 40 fi 41 35 42 echo "checking OS" 36 43 if [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then … … 42 49 exit 1 43 50 fi 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 51 echo "installing wireless plugin ..." sync 47 52 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)