2005-01-16 11:43:02 +00:00
|
|
|
#!/bin/sh
|
2006-06-27 00:36:13 +00:00
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
|
2006-04-05 02:09:22 +00:00
|
|
|
${FAILSAFE:+exit}
|
|
|
|
|
|
|
|
[ -f /etc/config/network ] && . /etc/config/network
|
|
|
|
eval $(ipcalc "$log_ipaddr")
|
|
|
|
[ "$log_ipaddr" = "$IP" ] || log_ipaddr=""
|
|
|
|
syslogd -C 16 ${log_ipaddr:+-L -R $log_ipaddr}
|
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 '' &
|