2005-01-16 19:43:02 +08:00
|
|
|
#!/bin/sh
|
2006-06-27 08:36:13 +08:00
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
|
2006-04-05 10:09:22 +08:00
|
|
|
${FAILSAFE:+exit}
|
|
|
|
|
2006-07-30 11:09:09 +08:00
|
|
|
# FIXME: add logging configuration
|
|
|
|
#[ -f /etc/config/network ] && . /etc/config/network
|
|
|
|
#eval $(ipcalc "$log_ipaddr")
|
|
|
|
#[ "$log_ipaddr" = "$IP" ] || log_ipaddr=""
|
2007-01-26 01:39:38 +08:00
|
|
|
syslogd -C16 #${log_ipaddr:+-L -R $log_ipaddr}
|
2005-05-13 08:37:19 +08:00
|
|
|
klogd
|
2006-07-30 11:09:09 +08:00
|
|
|
|
2006-10-05 04:05:48 +08:00
|
|
|
(
|
2006-10-16 05:03:30 +08:00
|
|
|
for i in /etc/rc.d/S*; do
|
|
|
|
$i boot 2>&1
|
2006-10-05 04:05:48 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
sysctl -p >&-
|
|
|
|
) | logger -s -p 6 -t '' &
|