aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-11-25 15:43:21 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-11-25 15:43:21 +0000
commit2f69fefc37a90ed129aeb136ed64396da54df8ca (patch)
tree8dc358c9878fada74e949beed2118be5521988c6
parent212feb9ccfc66e555bc917a76e5cabfb86ddedfe (diff)
downloadupstream-2f69fefc37a90ed129aeb136ed64396da54df8ca.tar.gz
upstream-2f69fefc37a90ed129aeb136ed64396da54df8ca.tar.bz2
upstream-2f69fefc37a90ed129aeb136ed64396da54df8ca.zip
base-files: uci-defaults-new: whitespace cleanup
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47644
-rwxr-xr-xpackage/base-files/files/lib/functions/uci-defaults-new.sh22
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() {