Changeset 23370 for ipk/source/bootlogos_bikergirl_0_1/CONTROL
- Timestamp:
- Sep 7, 2013, 2:14:36 PM (13 years ago)
- Location:
- ipk/source/bootlogos_bikergirl_0_1/CONTROL
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/bootlogos_bikergirl_0_1/CONTROL/postinst
r23364 r23370 1 1 #!/bin/sh 2 INSTDIR="$1"3 2 4 echo "successfully removed"5 if [ "/var/swap" == "$INSTDIR" ]; then6 echo "syncing disk"7 sync8 else9 SPACE=`getfreespace "$INSTDIR"`10 FREE=`expr $SPACE - 100`11 echo new freespace size $FREE kb12 fi13 3 exit 0 -
ipk/source/bootlogos_bikergirl_0_1/CONTROL/postrm
r23364 r23370 1 1 #!/bin/sh 2 INSTDIR="$1"3 2 4 echo "successfully removed"5 if [ "/var/swap" == "$INSTDIR" ]; then6 echo "syncing disk"7 sync8 else9 SPACE=`getfreespace "$INSTDIR"`10 FREE=`expr $SPACE - 100`11 echo new freespace size $FREE kb12 fi13 3 exit 0 -
ipk/source/bootlogos_bikergirl_0_1/CONTROL/preinst
r23369 r23370 1 1 #!/bin/sh 2 2 INSTDIR="$1" 3 4 if [ "/var/swap" == "$INSTDIR" ]; then5 echo "syncing disk"6 sync7 fi8 9 model=`cat /etc/model`10 echo""11 echo "Checking your Boxtype...."12 echo "Some Plugins will not work correctly on your $model!"13 echo ""14 if [ "$model" = "" ]; then15 echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"16 echo "Aborting installation..."17 exit 118 else19 echo "Boxtype: $model OK"20 fi21 3 22 4 echo "rename $INSTDIR/etc/boot/bootlogo.jpg -> $INSTDIR/etc/boot/original.jpg" … … 24 6 25 7 echo "installing bootlogo ..." 26 27 buildgroup=`cat /etc/.buildgroup`28 echo "checking OS"29 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then30 echo ---------------------------31 echo DONT USE this IPK Package!!32 echo ---33 echo Only for $buildgroup Image!!34 echo ---------------------------35 exit 136 fi37 8 exit 0 -
ipk/source/bootlogos_bikergirl_0_1/CONTROL/prerm
r23369 r23370 5 5 mv "$INSTDIR/etc/boot/original.jpg" "$INSTDIR/etc/boot/bootlogo.jpg" 6 6 7 echo "successfully removed"8 if [ "/var/swap" == "$INSTDIR" ]; then9 echo "syncing disk"10 sync11 else12 SPACE=`getfreespace "$INSTDIR"`13 FREE=`expr $SPACE - 100`14 echo new freespace size $FREE kb15 fi16 7 echo "remove bootlogo" 17 8 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)