Ignore:
Timestamp:
Mar 28, 2011, 9:48:11 PM (15 years ago)
Author:
capt_bluebaer
Message:

[ipk] add/remove wireless modules to/from blacklist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/swapnetwork_wlan_300/CONTROL/postrm

    r6523 r6773  
    33
    44echo "successfully removed"
     5
     6MODS="funcemu.ko rt73.ko rt2870sta.ko rt3070sta.ko zd1211.ko zd1211b.ko"
     7for i in $MODS; do
     8   mv -f $FILE $FILE.old
     9   sed -e "/^$i/d" $FILE.old > $FILE
     10   rm /var/lib/modules/$i
     11done
     12rm $FILE.old
     13echo "modules blacklist updated and symlinks removed"
    514
    615echo "syncing disk"
Note: See TracChangeset for help on using the changeset viewer.