Parent Directory
|
Revision Log
* as discussed with tg, the rcK script doesn't get started in background anymore * "busybox reboot" with a delay of 60sec is executed before the rcK script is started, so we can be sure that even if one init.d-script's stop function is broken the system still will reboot after max 1 min.
| 1 | #!/bin/sh |
| 2 | /bin/busybox reboot -d 60 -f & |
| 3 | for i in `ls -w1 /etc/init.d/S* | sort -rnk2` ; do |
| 4 | $i stop 2>&1 |
| 5 | done | logger -s -p 6 -t '' |
| Name | Value |
|---|---|
| svn:executable | * |
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |