qi: Bump to release 2.12
[dragora.git] / recipes / boot / sysvinit / post-install
blob5091835d69a9d109256accdb6940e69d5db41541
2 echo "Creating ${rootdir}/run/initctl interface, if needed ..."
3 if test ! -e "${rootdir}/run/initctl" || \
4    test ! -p "${rootdir}/run/initctl"
5 then
6     mkdir -p -- "${rootdir}/run"
7     rm -f -- "${rootdir}/run/initctl"
8     mknod -m 600 -- "${rootdir}/run/initctl" p
9 fi
11 # Reload init(8)
13 # Only reload the init if 'rootdir' was not given
14 if test -z "$rootdir"
15 then
16     echo "Reloading PID 1 ..."
17     init U || kill -s HUP 1