diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-11-25 15:43:21 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-11-25 15:43:21 +0000 |
commit | 2f69fefc37a90ed129aeb136ed64396da54df8ca (patch) | |
tree | 8dc358c9878fada74e949beed2118be5521988c6 /package/base-files/files/lib/functions/uci-defaults-new.sh | |
parent | 212feb9ccfc66e555bc917a76e5cabfb86ddedfe (diff) | |
download | mtk-20170518-2f69fefc37a90ed129aeb136ed64396da54df8ca.zip mtk-20170518-2f69fefc37a90ed129aeb136ed64396da54df8ca.tar.gz mtk-20170518-2f69fefc37a90ed129aeb136ed64396da54df8ca.tar.bz2 |
base-files: uci-defaults-new: whitespace cleanup
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47644
Diffstat (limited to 'package/base-files/files/lib/functions/uci-defaults-new.sh')
-rwxr-xr-x | package/base-files/files/lib/functions/uci-defaults-new.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults-new.sh b/package/base-files/files/lib/functions/uci-defaults-new.sh index 64241d5..9d1ecb6 100755 --- a/package/base-files/files/lib/functions/uci-defaults-new.sh +++ b/package/base-files/files/lib/functions/uci-defaults-new.sh @@ -190,7 +190,7 @@ ucidef_set_interface_macaddr() { json_add_string macaddr $macaddr json_select .. - + json_select .. } @@ -201,7 +201,7 @@ ucidef_set_led_netdev() { local dev=$4 json_select_object led - + json_select_object $1 json_add_string name $name json_add_string type netdev @@ -217,7 +217,7 @@ ucidef_set_led_interface() { local sysfs=$2 json_select_object led - + json_select_object $1 json_add_string name $name json_add_string type interface @@ -235,9 +235,9 @@ ucidef_set_led_usbdev() { local dev=$4 json_select_object led - + json_select_object $1 - json_add_string name $name + json_add_string name $name json_add_string type usb json_add_string sysfs $sysfs json_add_string device $dev @@ -253,7 +253,7 @@ ucidef_set_led_wlan() { local trigger=$4 json_select_object led - + json_select_object $1 json_add_string name $name json_add_string type trigger @@ -272,7 +272,7 @@ ucidef_set_led_switch() { local port_mask=$5 json_select_object led - + json_select_object $1 json_add_string name $name json_add_string type switch @@ -291,7 +291,7 @@ ucidef_set_led_default() { local default=$4 json_select_object led - + json_select_object $1 json_add_string name $name json_add_string sysfs $sysfs @@ -312,7 +312,7 @@ ucidef_set_led_rssi() { local factor=$8 json_select_object led - + json_select_object rssi json_select_object $1 json_add_string name $name @@ -333,7 +333,7 @@ ucidef_set_rssimon() { local threshold="$3" json_select_object led - + json_select_object rssi json_add_string type rssi json_add_string dev $dev @@ -341,7 +341,7 @@ ucidef_set_rssimon() { json_select .. json_select .. - + } board_config_update() { |