<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="lt">
	<id>https://wiki.eofnet.lt/w//index.php?action=history&amp;feed=atom&amp;title=Rc.local</id>
	<title>Rc.local - Versijų istorija</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eofnet.lt/w//index.php?action=history&amp;feed=atom&amp;title=Rc.local"/>
	<link rel="alternate" type="text/html" href="https://wiki.eofnet.lt/w//index.php?title=Rc.local&amp;action=history"/>
	<updated>2026-04-23T11:51:24Z</updated>
	<subtitle>Šio puslapio versijų istorija projekte</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.eofnet.lt/w//index.php?title=Rc.local&amp;diff=8993&amp;oldid=prev</id>
		<title>\dev\null: Naujas puslapis:   = rc.local linux sistemose kurios nebepalaiko rc scriptu (systemd)=  &lt;syntaxhighlight lang=&quot;text&quot;&gt; cat &lt;&lt;EOF &gt;&gt; /etc/systemd/system/rc-local.service [Unit] Description=/etc/rc....</title>
		<link rel="alternate" type="text/html" href="https://wiki.eofnet.lt/w//index.php?title=Rc.local&amp;diff=8993&amp;oldid=prev"/>
		<updated>2019-10-30T08:59:30Z</updated>

		<summary type="html">&lt;p&gt;Naujas puslapis:   = rc.local linux sistemose kurios nebepalaiko rc scriptu (systemd)=  &amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt; cat &amp;lt;&amp;lt;EOF &amp;gt;&amp;gt; /etc/systemd/system/rc-local.service [Unit] Description=/etc/rc....&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Naujas puslapis&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
= rc.local linux sistemose kurios nebepalaiko rc scriptu (systemd)=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;EOF &amp;gt;&amp;gt; /etc/systemd/system/rc-local.service&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=/etc/rc.local&lt;br /&gt;
ConditionPathExists=/etc/rc.local&lt;br /&gt;
 &lt;br /&gt;
[Service]&lt;br /&gt;
Type=forking&lt;br /&gt;
ExecStart=/etc/rc.local start&lt;br /&gt;
TimeoutSec=0&lt;br /&gt;
StandardOutput=tty&lt;br /&gt;
RemainAfterExit=yes&lt;br /&gt;
SysVStartPriority=99&lt;br /&gt;
 &lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pats rc.local:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;EOF &amp;gt;&amp;gt; /etc/rc.local&lt;br /&gt;
#!/bin/sh -e&lt;br /&gt;
#&lt;br /&gt;
# rc.local&lt;br /&gt;
#&lt;br /&gt;
# This script is executed at the end of each multiuser runlevel.&lt;br /&gt;
# Make sure that the script will &amp;quot;exit 0&amp;quot; on success or any other&lt;br /&gt;
# value on error.&lt;br /&gt;
#&lt;br /&gt;
# In order to enable or disable this script just change the execution&lt;br /&gt;
# bits.&lt;br /&gt;
#&lt;br /&gt;
# By default this script does nothing.&lt;br /&gt;
 &lt;br /&gt;
exit 0&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nustatom teises ir įgalinam scriptą:&lt;br /&gt;
 chmod +x /etc/rc.local&amp;amp;&amp;amp;systemctl enable rc-local&amp;amp;&amp;amp;systemctl start rc-local&amp;amp;&amp;amp;systemctl status rc-local&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripts]]&lt;br /&gt;
[[Category:Debian]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;/div&gt;</summary>
		<author><name>\dev\null</name></author>
	</entry>
</feed>