Changeset 10345 for ipk/source/bootlogos_enigmalinux_0_1/CONTROL/preinst
- Timestamp:
- 10/13/11 22:20:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/bootlogos_enigmalinux_0_1/CONTROL/preinst
r7451 r10345 6 6 7 7 model=`cat /etc/model` 8 9 10 11 12 13 14 15 16 17 echo "$model OK"18 8 echo"" 9 echo "Checking your Boxtype...." 10 echo "Some Plugins will not work correctly on your $model!" 11 echo "" 12 if [ "$model" = "" ]; then 13 echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!" 14 echo "Aborting installation..." 15 exit 1 16 else 17 echo "Boxtype: $model OK" 18 fi 19 19 20 20 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then … … 32 32 fi 33 33 fi 34 35 echo "rename /var/etc/boot/bootlogo.jpg -> /var/etc/boot/original.jpg" 36 mv /var/etc/boot/bootlogo.jpg /var/etc/boot/original.jpg 37 34 38 echo "installing bootlogo ..." 35 39 echo "checking OS"
Note: See TracChangeset
for help on using the changeset viewer.