Ignore:
Timestamp:
Mar 22, 2012, 12:40:00 AM (14 years ago)
Author:
capt_bluebaer
Message:

[ipk] wireless: installation fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/swapnetwork_wlan_400/CONTROL/postinst

    r14810 r14849  
    44echo "successfully installed"
    55
    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
     7sed -e 's/wlan=.*/wlan=y/' /var/etc/autostart/start-config > /tmp/start-config
     8mv /tmp/start-config /var/etc/autostart/start-config
     9echo "start-config updated"
     10echo
    1011
    1112echo "syncing disk"
Note: See TracChangeset for help on using the changeset viewer.