Debian Codegraph @

doc/Install

raw
1
2 Install instructions for the System V style init
3
4 init, shutdown, halt, reboot, wall, last, mesg, runlevel,
5 killall5, pidof, sulogin.
6
7 All programs, files and scripts in this package are covered by
8 the GNU General Public License version 2, and copyrighted by
9 Miquel van Smoorenburg (1991-2004) and, Jesse Smith (2018).
10
11 If you are not using Debian and the debianized package,
12 you may have to install the new init by hand if Debian is
13 using an init system other than SysV (eg systemd). You should
14 be able to drop the binaries into a Slackware or Devuan system, I think.
15
16 The SysV init software, core programs and manual pages can be
17 installed by running the following two commands from the top-level
18 source directory.
19
20 make
21 sudo make install
22
23 If sudo is not installed, the "make install" command may be run as
24 the root user.
25
26 Other than the GNU make utility, SysV init has few dependencies.
27 SysV can be built on virtually any Linux system featuring
28 the GNU C library or musl libc. A C compiler, such as the GNU Compiler
29 Collection (GCC) or Clang is also required.
30
31 On systems which want to provide translated versions of manual pages
32 the po4a package should be installed.
33
34 Here is a list of preferred directories to install the progs & manpages,
35 this should be done for you automatically when you run "make install"
36 as the root user, or via sudo, ie "sudo make install".
37
38 wall.1, last.1, mesg.1 /usr/man/man1
39 inittab.5, initscript.5 /usr/man/man5
40 init.8, halt.8, reboot.8,
41 shutdown.8, powerd.8,
42 killall5.8, pidof.8,
43 runlevel.8, sulogin.8 /usr/man/man8
44
45 init /sbin/init
46 inittab /etc/inittab
47 initscript.sample /etc/initscript.sample
48 telinit a link (with ln(1) ) to init, either
49 in /bin or in /sbin.
50 halt /sbin/halt
51 reboot a link to /sbin/halt in the same directory
52 killall5 /sbin/killall5
53 pidof a link to /sbin/killall5 in the same directory.
54 runlevel /sbin/runlevel
55 shutdown /sbin/shutdown.
56 wall /usr/bin/wall
57 mesg /usr/bin/mesg
58 last /usr/bin/last
59 sulogin /sbin/sulogin
60 bootlogd /sbin/bootlogd
61 utmpdump don't install, it's just a debug thingy.
62
63 If you already _have_ a "wall" in /bin (the SLS release had, for example)
64 do _not_ install this version of wall. Chances are that the wall you are already
65 using is linked to /bin/write. Either first _remove_ /bin/wall before
66 installing the new one, or don't install the new one at all.
67
68 You might want to create a file called "/etc/shutdown.allow". Read the
69 manual page on shutdown to find out more about this.
70
71 Running from a read-only file system (CDROM?):
72 * All communication to init goes through the FIFO /run/initctl.
73 There should be no problem using a read-only root file system
74 If you use a Linux kernel > 1.3.66. Older kernels don't allow
75 writing to a FIFO on a read-only file system.
76