blob: 1127000861245d8a03a905ce81efdcc808b7dc1d (
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 sinit to boot, edit your
/etc/init/rc.conf to enable SINIT variables."
EOF
|