Update userguide translations, leavengood as nielx

This commit is contained in:
autonielx
2016-05-06 04:15:13 +02:00
parent f1d1e8297b
commit bd3f6a54ec
6819 changed files with 219064 additions and 2080 deletions
+8 -6
View File
@@ -45,6 +45,7 @@
<li><a href="../hu/bash-scripting.html"><img src="../images/flags/hu.png" alt="" />Magyar</a></li>
<li><a href="../ca/bash-scripting.html"><img src="../images/flags/ca.png" alt="" />Català</a></li>
<li><a href="../pl/bash-scripting.html"><img src="../images/flags/pl.png" alt="" />Polski</a></li>
<li><a href="../ro/bash-scripting.html"><img src="../images/flags/ro.png" alt="" />Română</a></li>
<li><a href="../en/bash-scripting.html"><img src="../images/flags/gb.png" alt="" />English</a></li>
</ul>
<span>
@@ -56,6 +57,7 @@
<div id="content">
<div>
<div class="box-info">A tradução desta página ainda não está completa. Até lá, partes incompletas mostrarão o original em inglês.</div>
<h1>Bash e Scripting</h1>
@@ -74,13 +76,13 @@ Scripts podem executar simples comandos numa ordem específica, ou resultarem em
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a><a id="user-scripts" name="user-scripts">Scripts no Haiku</a></h2>
<p>No Haiku, o sistema obviamente também faz uso de scripting. O Boot e o desligamento são típicos procedimentos que fazem uso de scripting. Essas sequências definidas podem ser ampliadas pelo usuário com determinados scritps.<br />
Se eles já não existirem, você terá que criar os arquivos necessários por si. Senão, simplesmente adicione seus comandos nas posições do procedimento às quais desejar que eles sejam executados.</p>
<p>Haiku used to have scripts for booting and shutting down. Today it uses the <a href="https://dev.haiku-os.org/wiki/LaunchDaemon">launch_daemon</a> instead. However, the user can still augment this process with certain user scripts.
If they don't exist already, you'll have to create the needed files yourself. Otherwise simply add your commands where in the process you want them to be executed.</p>
<h3>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="userbootscript" name="userbootscript">O UserBootscript</a></h3>
<p><span class="path">/boot/home/config/boot/UserBootscript</span> será executado depois do sistema ter terminado seu processo de boot. Por exemplo, você poderá lançar uma série de programas que seriam então automaticamente iniciados a cada novo boot do sistema:</p>
<p><span class="path">/boot/home/config/settings/boot/UserBootscript</span> will be executed after the system has finished its boot process. For example, you could launch a number of programs that would then be automatically started on every boot up:</p>
<pre># Iniciar o LaunchBox
/boot/system/apps/LaunchBox &amp;
@@ -88,17 +90,17 @@ Se eles já não existirem, você terá que criar os arquivos necessários por s
/boot/system/apps/Workspaces &amp;</pre>
<p>Lembre-se de terminar o comando com um "<tt>&amp;</tt>" para iniciá-lo como um processo em segundo plano (background process), ou o script ficará suspenso até este comando ter sido concluído (neste caso: o aplicativo aberto ser fechado novamente).</p>
<p>Uma alternativa simples à anterior para iniciar aplicativos durante o boot é adicionar links para os mesmos no diretório <span class="path">/boot/home/config/boot/launch</span> . Isso pode ser feito simplesmente clicando-se com botão direito no aplicativo que você deseja que seja iniciado automaticamente, indo até <span class="menu">Criar Link</span> e depois <a href="tracker.html#navigating">navegando</a> até o diretório mencionado.</p>
<p>A simple alternative to the above for launching applications at boot up is to put links to them in the <span class="path">/boot/home/config/settings/boot/launch</span> directory. This can be done simply by right-clicking on the application you wish to have started automatically, going to <span class="menu">Create Link</span> and then <a href="tracker.html#navigating">navigating</a> to the above directory.</p>
<h3>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="usershutdownscript" name="usershutdownscript">O UserShutdownScript</a></h3>
<p><span class="path">/boot/home/config/boot/UserShutdownScript</span> será executado como a primeira etapa no procedimento de desligamento. Se o script retornar um status de saída diferente de zero, o desligamento será abortado.</p>
<p><span class="path">/boot/home/config/settings/boot/UserShutdownScript</span> will be executed as the first step in the shutdown process. If the script returns a non-zero exit status, the shutdown is aborted.</p>
<h3>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="usershutdownfinishscript" name="usershutdownfinishscript">O UserShutdownFinishScript</a></h3>
<p><span class="path">/boot/home/config/boot/UserShutdownFinishScript</span> será executado como a última etapa do procedimento de desligamento. Note que a maior parte do sistema já estará finalizada no momento da execução deste script.</p>
<p><span class="path">/boot/home/config/settings/boot/UserShutdownFinishScript</span> is executed as the last step in the shutdown process. Note, that most parts of the system have terminated by the time this script is executed.</p>
</div>
</div>