Changeset 3682 for ipk/source/system_mini_fo_0_1/CONTROL/preinst
- Timestamp:
- Jul 31, 2010, 8:06:33 PM (16 years ago)
- File:
-
- 1 edited
-
ipk/source/system_mini_fo_0_1/CONTROL/preinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/system_mini_fo_0_1/CONTROL/preinst
r521 r3682 10 10 exit 1 11 11 fi 12 13 model=`cat /etc/model` 14 echo"" 15 echo "Checking your Boxtype...." 16 echo "Some Plugins will not work correctly on your $model!" 17 echo "" 18 if [ "$model" = "" ]; then 19 echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!" 20 echo "Aborting installation..." 21 exit 1 22 else 23 echo "Boxtype: $model OK" 24 fi 25 12 26 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 13 27 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
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)