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