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