aboutsummaryrefslogtreecommitdiff
path: root/core/sinit/post-install
blob: 1f3fdf300a7700331b0028c08a6ff8422d6181f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

grep -q SINIT_ /etc/init/rc.conf || cat <<EOF >> /etc/init/rc.conf

# Comment 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 replace sinit, you need to 
edit your /etc/init/rc.conf to disable SINIT variables."

EOF