[OpenWrt-Devel] [PATCH 3/3] hotplug-preinit: remove superfluous `and`

Alexander Couzens lynxis at fe80.eu
Thu Feb 25 22:17:32 EST 2016


Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 package/system/procd/files/hotplug-preinit.json | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/system/procd/files/hotplug-preinit.json b/package/system/procd/files/hotplug-preinit.json
index 614b104..58afc6c 100644
--- a/package/system/procd/files/hotplug-preinit.json
+++ b/package/system/procd/files/hotplug-preinit.json
@@ -12,9 +12,7 @@
 		],
 	}, ],
 	[ "if",
-		[ "and",
-			[ "eq", "SUBSYSTEM", "button" ],
-		],
+		[ "eq", "SUBSYSTEM", "button" ],
 		[ "exec", "/etc/rc.button/failsafe" ]
 	],
 ]
-- 
2.7.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list