Unverified Commit 2332b52d authored by Darko Poljak's avatar Darko Poljak Committed by GitHub

Merge pull request #742 from 4nd3r/__line_onchange

add --onchange to __line
parents 59bff817 0f6fe476
......@@ -122,3 +122,7 @@ END {
' "$file" > "\$tmpfile"
mv -f "\$tmpfile" "$file"
DONE
if [ -f "$__object/parameter/onchange" ]; then
cat "$__object/parameter/onchange"
fi
......@@ -46,6 +46,8 @@ regex
state
'present' or 'absent', defaults to 'present'
onchange
The code to run if line is added, removed or updated.
BOOLEAN PARAMETERS
......
......@@ -4,3 +4,4 @@ file
line
regex
state
onchange
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment