summaryrefslogblamecommitdiffstats
path: root/os-plugins/plugins/syslog/init-hooks/15-have-ip-config/syslog.sh
blob: 4003a0a4a976d11a21caa299fe52095fb9a0bb65 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  





                                                                
  
if [ -e /initramfs/plugin-conf/syslog.conf ]; then
  . /initramfs/plugin-conf/syslog.conf
  if [ $syslog_active -ne 0 ] && [ -n "$syslog_host" ]; then
    echo "syslogd -R ${syslog_host}:${syslog_port}..."
    syslogd -R "${syslog_host}:${syslog_port}" & >/dev/null 2>&1
    klogd >/dev/null 2>&1
  fi
fi