summaryrefslogtreecommitdiff
blob: 0b757c01fe22342806ab429eb8e367d198805013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
exec >/dev/console 2>&1
PATH=/sbin:/usr/sbin:/bin:/usr/bin

echo 'Waiting for getties to stop...'
sv -w 10 force-shutdown /etc/service/getty-*

echo 'Waiting for services to stop...'
sv -w 300 force-shutdown /etc/service/*

echo 'Shutdown...'

. /etc/runit/rc.sh

run_rc_stage 3