mirror of
https://github.com/troglobit/finit.git
synced 2026-11-18 19:30:56 +00:00
Clarify actions of Alpine Linux install script
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c40cd06d60
commit
2c68183045
1 file changed
+12
-3
@@ -15,11 +15,20 @@ The bundled `build.sh` script can be used to configure and build finit:
|
|||||||
|
|
||||||
alpine:~# cd finit
|
alpine:~# cd finit
|
||||||
alpine:~/finit# ./contrib/alpine/build.sh
|
alpine:~/finit# ./contrib/alpine/build.sh
|
||||||
|
|
||||||
|
Then run the `install.sh` script to install all files, including the
|
||||||
|
sample `finit.conf` and `finit.d/*.conf` files. More on that below.
|
||||||
|
|
||||||
alpine:~/finit# ./contrib/alpine/install.sh
|
alpine:~/finit# ./contrib/alpine/install.sh
|
||||||
|
|
||||||
The installation skips `/sbin/init`, because it already exists, and
|
The install script is non-destructive by default, you have to answer
|
||||||
Alpine is hard coded to use it. So you have to change the symlink
|
*Yes* twice to set up Finit as the system default init. Pay close
|
||||||
yourself to point to `finit` instead of `/bin/busybox`.
|
attention to the last question:
|
||||||
|
|
||||||
|
*** Install Finit as the system default Init (y/N)?
|
||||||
|
|
||||||
|
If you answer `No`, simply by pressing enter, you can change the symlink
|
||||||
|
yourself later on, to point to `finit` instead of `/bin/busybox`:
|
||||||
|
|
||||||
alpine:~/finit# cd /sbin
|
alpine:~/finit# cd /sbin
|
||||||
alpine:/sbin# rm init
|
alpine:/sbin# rm init
|
||||||
|
|||||||
Reference in new issue
Block a user