aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files/hotplug-preinit.json
blob: 614b1047115b261ec74466b2de5303b4750dcfb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[
	[ "case", "ACTION", {
		"add": [
			[ "if",
				[ "has", "FIRMWARE" ],
				[
					[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ],
					[ "load-firmware", "/lib/firmware" ],
					[ "return" ]
				]
			],
		],
	}, ],
	[ "if",
		[ "and",
			[ "eq", "SUBSYSTEM", "button" ],
		],
		[ "exec", "/etc/rc.button/failsafe" ]
	],
]