English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/base-files/files/etc/init.d/rcK

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2760 - (show annotations) (download)
Mon Jun 11 10:11:19 2007 UTC (6 years, 8 months ago) by tha
File size: 134 byte(s)
* 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 ''

Properties

Name Value
svn:executable *

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20