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

SCM Repository

ViewVC logotype

Diff of /branches/common-nfo/package/base-files/files/etc/init.d/rcK

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3426 by tg, Wed Jul 18 12:45:43 2007 UTC revision 3427 by tg, Wed Aug 8 11:08:41 2007 UTC
# Line 2  Line 2 
2  export PATH=/bin:/sbin:/usr/bin:/usr/sbin  export PATH=/bin:/sbin:/usr/bin:/usr/sbin
3  busybox reboot -d 60 -f &               # just in case…  busybox reboot -d 60 -f &               # just in case…
4  {  {
5            [[ -f /proc/diag/led/power ]] && echo f >/proc/diag/led/power
6          test -e /etc/rc.shutdown && (/bin/sh /etc/rc.shutdown) 2>&1          test -e /etc/rc.shutdown && (/bin/sh /etc/rc.shutdown) 2>&1
7          grep '^#FWINIT ' /etc/init.d/* | \          grep '^#FWINIT ' /etc/init.d/* | \
8              sort -rnk2 | \              sort -rnk2 | \
# Line 16  busybox reboot -d 60 -f &              # just in cas Line 17  busybox reboot -d 60 -f &              # just in cas
17                  esac                  esac
18                  ${shebang:-/bin/sh} ${line%%:*} autostop 2>&1                  ${shebang:-/bin/sh} ${line%%:*} autostop 2>&1
19          done          done
20            [[ -f /proc/diag/led/power ]] && echo 0 >/proc/diag/led/power
21  } | logger -s -p 6 -t ''  } | logger -s -p 6 -t ''

Legend:
Removed from v.3426  
changed lines
  Added in v.3427

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