From 11b53c25d767fa16671bc0b42158e61c7a2de19f Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 13 Jan 2020 20:48:33 +0300 Subject: sinit: add to extra at 1.1 --- extra/sinit/post-install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 extra/sinit/post-install (limited to 'extra/sinit/post-install') diff --git a/extra/sinit/post-install b/extra/sinit/post-install new file mode 100755 index 00000000..f9c906f2 --- /dev/null +++ b/extra/sinit/post-install @@ -0,0 +1,16 @@ +#!/bin/sh -e + +grep -q SINIT_ /etc/init/rc.conf || cat <> /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 <