summaryrefslogblamecommitdiffstats
path: root/os-plugins/plugins/syslog/init-hooks/15-have-ip-config/syslog.sh
blob: 3ce3ca0475c4f67e22f471eb75552f90c659a970 (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