~carbslinux/repository

ref: 051404c997c633388071203be5c24f28dfb9f14c repository/core/sinit/post-install -rwxr-xr-x 310 bytes
051404c9Cem Keylan sinit: removed ubase dependency, build respawn and halt onto sinit 1 year, 10 months ago
                                                                                
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