- Timestamp:
- Sep 13, 2013, 11:05:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/postinst
r21391 r23707 1 1 #!/bin/sh 2 TMP=/tmp/.picon 3 echo "successfully installed" 4 link=`readlink /var/swap` 5 if [ -z $link ]; then 6 link="kein link" 2 INSTDIR="$1" 3 4 if [ $INSTDIR != "/var" ]; then 5 ln -s $INSTDIR/usr/local/share/titan/picons/alternate /mnt/swapextensions/usr/local/share/titan/picons/alternate 7 6 fi 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 10 FREE=`expr $SPACE - 100` 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 15 fi 7 8 mv /tmp/plugins/lcdsamsung/skin.xml /var/usr/local/share/titan/plugins/lcdsamsung/skin.xml 9 16 10 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)