add nvram.sh to all startup scripts, no errors on wgt634u
[openwrt.git] / package / base-files / default / etc / init.d / rcS
1 #!/bin/sh
2 . /etc/nvram.sh
3 syslog_ip=$(nvram get log_ipaddr)
4 ipcalc -s "$syslog_ip" || syslog_ip=""
5 syslogd -C 16 ${syslog_ip:+-L -R $syslog_ip}
6 klogd
7 #${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}
8 for i in /etc/init.d/S*; do
9 $i start 2>&1
10 done | logger -s -p 6 -t '' &
This page took 0.051599 seconds and 5 git commands to generate.