aboutsummaryrefslogtreecommitdiff
path: root/docs/wiki/init/switching-to-sinit.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/wiki/init/switching-to-sinit.html')
-rw-r--r--docs/wiki/init/switching-to-sinit.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/docs/wiki/init/switching-to-sinit.html b/docs/wiki/init/switching-to-sinit.html
new file mode 100644
index 0000000..775e01c
--- /dev/null
+++ b/docs/wiki/init/switching-to-sinit.html
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML>
+<html lan="en">
+<head>
+<title>Switching to Sinit | Carbs Linux</title>
+<link rel="stylesheet" href="/assets/style.css">
+<meta charset="utf-8">
+<meta name="Description" content="Carbs Linux - a simple busybox linux distribution">
+<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+</head>
+<p class=header><strong>Carbs Linux - a simple busybox linux distribution</strong></p>
+<div class="header"><nav>
+<a href='/'>index</a>
+<a href='https://github.com/CarbsLinux'>github</a>
+<a href='//dl.carbslinux.org'>downloads</a>
+<a href='/blog'>blog</a>
+<a href='/wiki'>wiki</a>
+<a href='/wiki/install.html'>installation</a>
+</nav></div><div class="border"></div>
+<h1>Switching to Sinit</h1>
+
+<p>Carbs Linux runs <code>busybox-init</code> by default. You can switch to
+anything else you desire, but only busybox-init and sinit are
+officially supported. Switching to sinit is extremely easy, you
+can be up and running within minutes. The only &ldquo;hard&rdquo; requirement
+is an environment you will be chrooting in. So, let&rsquo;s begin!</p>
+
+<h2>Preparing your environment</h2>
+
+<p>From your other environment, download the kiss-chroot utility
+and make it executable.</p>
+
+<pre><code>$ wget https://dl.getkiss.org/kiss-chroot
+$ chmod +x kiss-chroot
+
+# From your environment start the chroot
+$ kiss-chroot /mnt
+</code></pre>
+
+<h2>Removing busybox-init</h2>
+
+<p>Now that we are in chroot environment, let&rsquo;s remove busybox-init.</p>
+
+<pre><code>$ kiss r busybox-init
+</code></pre>
+
+<h2>Installing and configuring sinit</h2>
+
+<p>Build and install sinit</p>
+
+<pre><code>$ kiss b sinit
+$ kiss i sinit
+</code></pre>
+
+<p>Open up your <code>/etc/init/rc.conf</code> now and uncomment
+the variables regarding SINIT. You are ready now.</p>
+
+<p>If you edited your inittab, make sure you reflect your changes
+on the <code>/etc/init/sinit-launch-services.boot</code> file.</p>
+
+<h2>Finishing up</h2>
+
+<p>If all of the above is done, simply exit the chroot and reboot.
+Sinit should be functioning without any issues.</p>
+<a href="/wiki/init/switching-to-sinit.txt">View Page Source</a><div class=border></div>
+<p class=footer>Linux® is a registered trademark of Linus Torvalds</p>
+<p class=footer>Copyright © 2019-2020 Cem Keylan</p>
+</body>
+</html>