2005-01-16 11:43:02 +00:00
|
|
|
#!/bin/sh
|
2005-09-10 18:28:33 +00:00
|
|
|
. /etc/nvram.sh
|
2005-07-20 19:58:40 +00:00
|
|
|
syslog_ip=$(nvram get log_ipaddr)
|
|
|
|
ipcalc -s "$syslog_ip" || syslog_ip=""
|
|
|
|
syslogd -C 16 ${syslog_ip:+-L -R $syslog_ip}
|
2005-05-13 00:37:19 +00:00
|
|
|
klogd
|
2005-07-20 19:58:40 +00:00
|
|
|
#${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}
|
2005-05-23 21:44:17 +00:00
|
|
|
for i in /etc/init.d/S*; do
|
|
|
|
$i start 2>&1
|
2005-06-01 08:28:44 +00:00
|
|
|
done | logger -s -p 6 -t '' &
|