- Timestamp:
- Mar 20, 2011, 4:36:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/keymaps_ufs910_at7000_at700_neutrino_1_3/CONTROL/preinst
r6519 r6522 1 1 #!/bin/sh 2 2 # 3 TMP=/tmp/. wlan3 TMP=/tmp/.keymaps 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" ] ; then12 if [ "$model" = "ufs910" ] || [ "$model" = "at7000" ] || [ "$model" = "at700" ] || [ "$model" = "at7500" ]; 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= 21024 echo "checking freespace ..."23 SIZE=15 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 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 33 fi 34 echo "installing keymap ..." 42 35 echo "checking OS" 43 36 if [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then … … 49 42 exit 1 50 43 fi 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 52 47 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)