Comment 3 for bug 1298938

Sworddragon (sworddragon) wrote :

These are all greps in /etc/init:

sworddragon@ubuntu:/etc/init$ ack-grep --ignore-ack-defaults -C 1 grep
wait-for-state.conf
28- N|n|0)
29: if grep -q "^\s*manual\s*$" /etc/init/$WAIT_FOR.conf /etc/init/$WAIT_FOR.override ; then
30- exit 0
--
39- # Already running/stopped?
40: status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0
41-

container-detect.conf
27- if [ -z "$container" ]; then
28: VXID="$(cat /proc/self/status | grep ^VxID | cut -f2)" || true
29- [ "${VXID:-0}" -gt 1 ] && container=vserver

plymouth-ready.conf
18- if [ "$UPSTART_EVENTS" = started ] || \
19: status plymouth-splash | grep -q "start/started" || \
20- plymouth --ping