generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/ref-classes-update-rc.d.html

29 lines
1.9 KiB
HTML
Raw Normal View History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.4.<2E>Initscripts - update-rc.d.bbclass</title>
<link rel="stylesheet" type="text/css" href="../book.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
<link rel="up" href="ref-classes.html" title="Chapter<65>7.<2E>Classes">
<link rel="prev" href="ref-classes-update-alternatives.html" title="7.3.<2E>Alternatives - update-alternatives.bbclass">
<link rel="next" href="ref-classes-binconfig.html" title="7.5.<2E>Binary config scripts - binconfig.bbclass">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="7.4.<2E>Initscripts - update-rc.d.bbclass">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-classes-update-rc.d"></a>7.4.<2E>Initscripts - <code class="filename">update-rc.d.bbclass</code>
</h2></div></div></div>
<p>
This class uses <code class="filename">update-rc.d</code> to safely install an
initialization script on behalf of the package.
The OpenEmbedded build system takes care of details such as making sure the script is stopped before
a package is removed and started when the package is installed.
Three variables control this class:
<code class="filename"><a class="link" href="ref-variables-glos.html#var-INITSCRIPT_PACKAGES" title="INITSCRIPT_PACKAGES">INITSCRIPT_PACKAGES</a></code>,
<code class="filename"><a class="link" href="ref-variables-glos.html#var-INITSCRIPT_NAME" title="INITSCRIPT_NAME">INITSCRIPT_NAME</a></code> and
<code class="filename"><a class="link" href="ref-variables-glos.html#var-INITSCRIPT_PARAMS" title="INITSCRIPT_PARAMS">INITSCRIPT_PARAMS</a></code>.
See the variable links for details.
</p>
</div></body>
</html>