source: ipk/source.sh4/swapnetwork_wlan_300/CONTROL/postinst@ 12429

Last change on this file since 12429 was 7451, checked in by BPanther, 15 years ago

[ipk] - copy source->source.sh4

  • Property svn:executable set to *
File size: 588 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.wlan
3
4echo "successfully installed"
5
6for i in "funcemu.ko rt73.ko rt2870sta.ko rt3070sta.ko zd1211.ko zd1211b.ko"; do
7 echo $i >> /var/etc/blacklist-modules
8done
9echo "modules blacklist updated"
10
11echo "syncing disk"
12sync
13
14if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
15 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
16 FREE=`expr $SPACE - 100`
17 echo new freespace size $FREE kb
18fi
19echo "please plug your wifi adapter in a free usb port and reboot your box"
20exit 0
Note: See TracBrowser for help on using the repository browser.