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}
|
|
|
|
|
2006-07-30 03:09:09 +00:00
|
|
|
# FIXME: add logging configuration
|
|
|
|
#[ -f /etc/config/network ] && . /etc/config/network
|
|
|
|
#eval $(ipcalc "$log_ipaddr")
|
|
|
|
#[ "$log_ipaddr" = "$IP" ] || log_ipaddr=""
|
2007-01-25 17:39:38 +00:00
|
|
|
syslogd -C16 #${log_ipaddr:+-L -R $log_ipaddr}
|
2005-05-13 00:37:19 +00:00
|
|
|
klogd
|
2006-07-30 03:09:09 +00:00
|
|
|
|
2006-10-04 20:05:48 +00:00
|
|
|
(
|
2006-10-15 21:03:30 +00:00
|
|
|
for i in /etc/rc.d/S*; do
|
|
|
|
$i boot 2>&1
|
2006-10-04 20:05:48 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
sysctl -p >&-
|
|
|
|
) | logger -s -p 6 -t '' &
|