aboutsummaryrefslogtreecommitdiff
path: root/core/sinit/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'core/sinit/post-install')
-rwxr-xr-xcore/sinit/post-install28
1 files changed, 19 insertions, 9 deletions
diff --git a/core/sinit/post-install b/core/sinit/post-install
index 1f3fdf30..50170454 100755
--- a/core/sinit/post-install
+++ b/core/sinit/post-install
@@ -1,16 +1,26 @@
#!/bin/sh -e
-grep -q SINIT_ /etc/init/rc.conf || cat <<EOF >> /etc/init/rc.conf
+cat <<EOF
-# Comment these to run the scripts for sinit
-SINIT_SHUTDOWN_HOOKS=1
-SINIT_ENABLE_GETTY=1
-SINIT_ENABLE_RUNIT=1
-EOF
+!! IMPORTANT !!
-cat <<EOF
+To start using sinit, edit
+/etc/init/sinit-launch-services.boot
+And uncomment the getty function, and
+Optionally uncomment the runit function
+If you deem necessary.
+
+sinit is installed as /usr/bin/sinit. It
+can fully replace busybox init by running
+the following command.
+
+ kiss a | grep ^sinit | kiss a -
-Important: If you want to replace sinit, you need to
-edit your /etc/init/rc.conf to disable SINIT variables."
+NOTE: If swapping from busybox init on a
+ running system, shutdown/reboot by
+ invoking 'busybox-init poweroff'.
+ sinit's poweroff/reboot utilities
+ can't be of use until it is actually
+ running.
EOF