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 | 64a40ac004dbf5b7a62d57617b52ead467d44659 (patch) | |
tree | b58e1ae153821fe01bf832bcd4f5f355ba9386dc /package/base-files | |
parent | 09c61f319e376a3332cc5ae102cafc12ae41f9af (diff) | |
download | master-187ad058-64a40ac004dbf5b7a62d57617b52ead467d44659.tar.gz master-187ad058-64a40ac004dbf5b7a62d57617b52ead467d44659.tar.bz2 master-187ad058-64a40ac004dbf5b7a62d57617b52ead467d44659.zip |
base-files: uci-defaults-new: whitespace cleanup
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47644 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-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 64241d5a5e..9d1ecb60e0 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() { |