Changeset 12551 for ipk/source.sh4
- Timestamp:
- Dec 23, 2011, 5:52:32 PM (14 years ago)
- Location:
- ipk/source.sh4/titankeymaps_neutrino/CONTROL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titankeymaps_neutrino/CONTROL/postrm
r12395 r12551 1 1 #!/bin/sh 2 2 TMP=/tmp/.keymaps 3 echo " successful removed"4 echo "syncing disk" 3 echo "Erfolgreich deinstalliert..." 4 5 5 sync 6 echo " restoring original rcmap"6 echo "Stelle Original rcmap wieder her" 7 7 mv /var/etc/titan/rcmap_original /var/etc/titan/rcmap 8 8 -
ipk/source.sh4/titankeymaps_neutrino/CONTROL/preinst
r12395 r12551 7 7 model=`cat /etc/model` 8 8 echo"" 9 echo " Checking yourBoxtype...."10 echo " Some Plugins will not work correctly on your $model!"9 echo "Überprüfe Boxtype...." 10 echo "Manche Plugins funktionieren nicht auf ihrer $model!" 11 11 echo "" 12 12 if [ "$model" = "" ]; then … … 22 22 FREE=`expr $SPACE - 100` 23 23 SIZE=10 24 echo " checking freespace"24 echo "Überprüfe freien Speicherplatz....." 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 "Entschuldigung, nicht genug freier Speicherplatz verfügbar!" 29 29 exit 1 30 30 else … … 33 33 fi 34 34 buildgroup=`cat /etc/.buildgroup` 35 echo " checking OS"35 echo "Überprüfe Betriebssystem..." 36 36 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 37 37 echo --------------------------- … … 43 43 fi 44 44 45 echo "installi ngkeymap ..."45 echo "installiere keymap ..." 46 46 47 echo " backing uprcmap -> rcmap_original"47 echo "Sichere rcmap -> rcmap_original" 48 48 mv /var/etc/titan/rcmap /var/etc/titan/rcmap_original 49 49 -
ipk/source.sh4/titankeymaps_neutrino/CONTROL/prerm
r12395 r12551 10 10 echo freespace size $FREE kb 11 11 fi 12 echo " remove Neutrino Keymap"12 echo "Deinstalliere Neutrino Keymap" 13 13 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)