#!/bin/bashexec>/dev/console2>&1PATH=/sbin:/usr/sbin:/bin:/usr/bin
echo'Waiting for getties to stop...'
sv-w10force-shutdown/etc/service/getty-*
echo'Waiting for services to stop...'
sv-w300force-shutdown/etc/service/*
echo'Shutdown...'
./etc/runit/rc.sh
run_rc_stage3