procd: support generic mount triggers and clean up
authorDaniel Golle <daniel@makrotopia.org>
Sun, 30 Jan 2022 19:37:41 +0000 (19:37 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 30 Jan 2022 20:16:25 +0000 (20:16 +0000)
commit6d76ec38721f964ae9ac65d80ef8628199986fa4
treefd75261b37770e147264aff3dbcdde3c73df9fe3
parentb21bc3479d46e6a4c3cc6bf7c245d4b0ddccb7db
procd: support generic mount triggers and clean up

Allow init scripts to trigger free-form actions by exposing
procd_add_action_mount_trigger.
Clean up mount trigger wrappers while at it to reduce code duplication.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/system/procd/files/procd.sh