Changeset 2209


Ignore:
Timestamp:
Oct 5, 2012, 12:27:54 AM (7 years ago)
Author:
matthijs
Message:

ddns: Fix config migration.

In r2167, some quotes got messed up, causing the ddns settings to be
literal shell snippets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/luci/modules/admin-fon/root/sbin/migrate-config.sh

    r2168 r2209  
    2222                uci set 'ddns.ddns_scripts.enabled=1'
    2323                uci set 'ddns.ddns_scripts.service_name=dyndns.org'
    24                 uci set 'ddns.ddns_scripts.username=$(config_get ddns user)'
    25                 uci set 'ddns.ddns_scripts.password=$(config_get ddns pass)'
    26                 uci set 'ddns.ddns_scripts.domain=$(config_get ddns dns)'
     24                uci set "ddns.ddns_scripts.username=$(config_get ddns user)"
     25                uci set "ddns.ddns_scripts.password=$(config_get ddns pass)"
     26                uci set "ddns.ddns_scripts.domain=$(config_get ddns dns)"
    2727                uci set 'ddns.ddns_scripts.ip_source=none'
    2828        fi
Note: See TracChangeset for help on using the changeset viewer.