Changeset 14849 for ipk/source.sh4/swapnetwork_wlan_400
- Timestamp:
- Mar 22, 2012, 12:40:00 AM (14 years ago)
- Location:
- ipk/source.sh4/swapnetwork_wlan_400/CONTROL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/swapnetwork_wlan_400/CONTROL/postinst
r14810 r14849 4 4 echo "successfully installed" 5 5 6 if [ -z `grep wlan /var/etc/autostart/start-config` ]; then 7 echo "wlan=y" >> /var/etc/autostart/start-config 8 echo "start-config updated" 9 fi 6 [ -z "`grep wlan= /var/etc/autostart/start-config`" ] && echo "wlan=y" >> /var/etc/autostart/start-config 7 sed -e 's/wlan=.*/wlan=y/' /var/etc/autostart/start-config > /tmp/start-config 8 mv /tmp/start-config /var/etc/autostart/start-config 9 echo "start-config updated" 10 echo 10 11 11 12 echo "syncing disk" -
ipk/source.sh4/swapnetwork_wlan_400/CONTROL/postrm
r12385 r14849 4 4 echo "successfully removed" 5 5 6 MODS="funcemu.ko rt73.ko rt2870sta.ko rt3070sta.ko zd1211.ko zd1211b.ko" 7 for i in $MODS; do 8 mv -f $FILE $FILE.old 9 sed -e "/^$i/d" $FILE.old > $FILE 10 rm /var/lib/modules/$i 11 done 12 rm $FILE.old 13 echo "modules blacklist updated and symlinks removed" 6 sed -e 's/wlan=.*/wlan=n/' /var/etc/autostart/start-config > /tmp/start-config 7 mv /tmp/start-config /var/etc/autostart/start-config 8 echo "start-config updated" 9 echo 14 10 15 11 echo "syncing disk"
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)