Changeset 816


Ignore:
Timestamp:
2005-05-09T00:02:59+02:00 (13 years ago)
Author:
mbm
Message:

log rcS output

Location:
trunk/openwrt/target/default/target_skeleton/etc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/default/target_skeleton/etc/init.d/S99done

    r768 r816  
    22# set leds to normal state 
    33echo "0x00" > /proc/sys/diag 
    4 sysctl -p 
    5 sysctl -n 
     4sysctl -p >&- 
  • trunk/openwrt/target/default/target_skeleton/etc/init.d/rcS

    r211 r816  
    11#!/bin/sh 
    2  
    32# Start all init scripts in /etc/init.d 
    43# executing them in numerical order. 
    54# 
    6 for i in /etc/init.d/S??* ;do 
    7  
    8      # Ignore dangling symlinks (if any). 
    9      [ ! -f "$i" ] && continue 
    10  
    11      case "$i" in 
    12         *.sh) 
    13             # Source shell script for speed. 
    14             ( 
    15                 trap - INT QUIT TSTP 
    16                 set start 
    17                 . $i 
    18             ) 
    19             ;; 
    20         *) 
    21             # No sh extension, so fork subprocess. 
    22             $i start 
    23             ;; 
    24     esac 
     5for i in /etc/init.d/S* ;do 
     6  [ -f "$i" ] && $i start 
    257done 
  • trunk/openwrt/target/default/target_skeleton/etc/inittab

    r468 r816  
    1 ::sysinit:/etc/init.d/rcS 
     1::sysinit:/etc/init.d/rcS 2>&1 | logger -p 6 -t '' -s 
    22::shutdown:/sbin/halt 
    33tts/0::askfirst:/bin/ash --login 
Note: See TracChangeset for help on using the changeset viewer.