Diff for scripts/shell/runit-startup-scripts/etc/runit/3 between version 1.1 and 1.2
| version 1.1, 2005/05/16 13:20:32 |
version 1.2, 2006/02/17 01:12:58 |
| Line 6 PATH=/sbin:/bin:/usr/sbin:/usr/bin |
|
| Line 6 PATH=/sbin:/bin:/usr/sbin:/usr/bin |
|
| LAST=0 |
LAST=0 |
| test -x /etc/runit/reboot && LAST=6 |
test -x /etc/runit/reboot && LAST=6 |
| |
|
| echo 'Waiting for getties to stop...' |
|
| svwaitdown -xk -t14 /var/service/getty-* |
|
| |
|
| echo 'Waiting for services to stop...' |
echo 'Waiting for services to stop...' |
| svwaitdown -xk -t350 /var/service/* |
sv -w196 force-stop /var/service/* |
| |
sv exit /var/service/* |
| |
|
| echo 'Shutdown...' |
echo 'Shutdown...' |
| /etc/init.d/rc $LAST |
/etc/init.d/rc $LAST |
Platon Group <platon@platon.org> http://platon.org/
|
|