Revert "Revert "services_autorun: fix for incorrect evaluation""

This reverts commit 585893d046a1c317950be53dac3375d74d3c3e2b.
Redmine#5940: definitively fix services_autorun for all agents
ensure permissions to comply with ones from postinstall script
Last byte of file should be newline, not close-curly-brace
Merge pull request #260 from phnakarin/fix#5804

Ensure permissions to comply with ones from postinstall script
Merge pull request #259 from tzz/bugfix/redmine5940-try-again

Bring services_autorun to life again
add dc-scripts to exclude_dirs()
Makefile: no reports directory anymore
Redmine#5940: acceptance test for autorun
Merge pull request #261 from tzz/bugfix/redmine5940-autorun-acceptance-test

Redmine#5940: acceptance test for autorun
Redmine#5940: kill error message by simplifying policy
Merge pull request #262 from tzz/bugfix/redmine5940-silence-inputs-spuriosity

Redmine#5940: kill error message by simplifying policy
Redmine#5940: do not use a relative directory for autorun-D
Fix package verrification for rhel family package methods
Merge pull request #263 from nickanderson/redmine/6009

Fix package verrification for rhel family package methods
Make sure static folder inside api directory is writeable by cfapache , cause without it the export reports functionality will not work.
small typo correction
Merge pull request #264 from sudhirpandey/master

Make sure static folder inside api directory is writeable by cfapache , because without it the export reports functionality will not work.
inventory/README.md: document inventory system
fix package_update_command to work for pkgin on SmartOS