priority: 900 | priority: 900 | ||||
package: '*' | package: '*' | ||||
rc.local example | |||||
.. code-block:: yaml | |||||
linux: | |||||
system: | |||||
rc: | |||||
local: | | |||||
#!/bin/sh -e | |||||
# | |||||
# rc.local | |||||
# | |||||
# This script is executed at the end of each multiuser runlevel. | |||||
# Make sure that the script will "exit 0" on success or any other | |||||
# value on error. | |||||
# | |||||
# In order to enable or disable this script just change the execution | |||||
# bits. | |||||
# | |||||
# By default this script does nothing. | |||||
exit 0 | |||||
Linux network | Linux network | ||||
------------- | ------------- | ||||
{%- if system.group|length > 0 %} | {%- if system.group|length > 0 %} | ||||
- linux.system.group | - linux.system.group | ||||
{%- endif %} | {%- endif %} | ||||
{%- if system.rc is defined %} | |||||
- linux.system.rc | |||||
{%- endif %} | |||||
{%- if system.job|length > 0 %} | {%- if system.job|length > 0 %} | ||||
- linux.system.job | - linux.system.job | ||||
{%- endif %} | {%- endif %} |