| commit | 7ba61b15ed11e168457270f20f5a80992756524a | [log] [tgz] |
|---|---|---|
| author | Mike Lockwood <lockwood@android.com> | Tue Jun 07 18:16:55 2011 -0700 |
| committer | Mike Lockwood <lockwood@android.com> | Thu Jun 09 15:42:42 2011 -0700 |
| tree | 241104bdced5f2f395abc2f19f305cf8633f84ca | |
| parent | 2c4d5dc41505d28cff369cfbe8b17ac81106d936 [diff] |
init: Allow wildcards in property triggers by using * for property value
For example, the following trigger will fire when the sys.foo property
is set to any value:
on property:sys.foo=*
write /data/foo hello
It is also possible to refer to the property within the trigger actions:
on property:sys.foo=*
write /data/foo $sys.foo
Change-Id: If78d20a532f77e17aa5703d53be581ad6736cbcf
Signed-off-by: Mike Lockwood <lockwood@android.com>