- Timestamp:
- Sep 8, 2013, 10:54:33 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/swapnetwork_libsmbclient_3_0_28b/CONTROL/preinst
r21601 r23438 1 1 #!/bin/sh 2 #3 TMP=/tmp/.network4 echo "syncing disk"5 sync6 2 7 model=`cat /etc/model`8 echo""9 echo "Checking your Boxtype...."10 echo "Some Plugins will not work correctly on your $model!"11 echo ""12 if [ "$model" = "ufs912" ]; then13 echo "You dont need this package on your $model !!"14 echo "Aborting installation..."15 exit 116 elif [ "$model" = "" ]; then17 echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"18 echo "Aborting installation..."19 exit 120 else21 echo "Boxtype: $model OK"22 fi23 24 echo "checking swapstick"25 if [ ! -d /var/swap/lib/ ]; then26 echo "--------------------------"27 echo "no swapstick found...."28 echo "--------------------------"29 exit 130 fi31 echo "swapstick found...."32 echo "installing Networkfile libsmbclient 3.0.28 to swapstick..."33 3 echo "deleting libsmbclient.so.0 LINK in /var/usr/lib" 34 4 rm /var/usr/lib/libsmbclient.so.0 35 5 36 buildgroup=`cat /etc/.buildgroup`37 echo "checking OS"38 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then39 echo ---------------------------40 echo DONT USE this IPK Package!!41 echo ---42 echo Only for $buildgroup Image!!43 echo ---------------------------44 exit 145 fi46 47 6 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)