2005-01-16 13:43:02 +02:00
|
|
|
#!/bin/sh
|
2006-06-27 03:36:13 +03:00
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
|
2006-04-05 05:09:22 +03:00
|
|
|
${FAILSAFE:+exit}
|
|
|
|
|
2006-07-30 06:09:09 +03:00
|
|
|
# FIXME: add logging configuration
|
|
|
|
#[ -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 03:37:19 +03:00
|
|
|
klogd
|
2006-07-30 06:09:09 +03:00
|
|
|
|
2006-10-04 23:05:48 +03:00
|
|
|
(
|
2006-10-16 00:03:30 +03:00
|
|
|
for i in /etc/rc.d/S*; do
|
|
|
|
$i boot 2>&1
|
2006-10-04 23:05:48 +03:00
|
|
|
done
|
|
|
|
|
|
|
|
sysctl -p >&-
|
|
|
|
) | logger -s -p 6 -t '' &
|