Changeset 8694

Show
Ignore:
Timestamp:
06/03/12 10:05:13 (12 months ago)
Author:
soma
Message:

contrib/meshwizard: Cleanup olsrd config (Remove httpinfo and wlan interface

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh

    r8693 r8694  
    44. /etc/functions.sh 
    55. $dir/functions.sh 
     6 
     7# Clean the config, remove httpinfo and interface wlan 
     8uci -q delete olsrd.olsrd_httpinfo 
     9handle_interface() { 
     10        config_get interface "$1" interface 
     11        if [ "$interface" = "wlan" ]; then 
     12        uci delete olsrd.$1 
     13        fi 
     14} 
     15config_foreach handle_interface Interface 
     16uci_commitverbose "Cleanup olsrd config" olsrd 
    617 
    718#Rename olsrd basic settings