diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-13 23:13:19 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-13 23:13:19 +0300 |
commit | 3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65 (patch) | |
tree | e181ca1b4ed5e5b38c0d17da89b259860798d3c1 /core/sinit/post-install | |
parent | 11b53c25d767fa16671bc0b42158e61c7a2de19f (diff) | |
download | repository-3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65.tar.gz |
repository: move ubase and sinit to core
Diffstat (limited to 'core/sinit/post-install')
-rwxr-xr-x | core/sinit/post-install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/sinit/post-install b/core/sinit/post-install new file mode 100755 index 00000000..f9c906f2 --- /dev/null +++ b/core/sinit/post-install @@ -0,0 +1,16 @@ +#!/bin/sh -e + +grep -q SINIT_ /etc/init/rc.conf || cat <<EOF >> /etc/init/rc.conf + +# Uncomment these to run the scripts for sinit +# SINIT_SHUTDOWN_HOOKS=1 +# SINIT_ENABLE_GETTY=1 +# SINIT_ENABLE_RUNIT=1 +EOF + +cat <<EOF + +Important: If you want to sinit to boot, edit your +/etc/init/rc.conf to enable SINIT variables." + +EOF |