From 49eff1e1b186a185e069a04c9af0da6be7a26708 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 12 Dec 2020 23:38:48 -0500 Subject: /etc/init.d/syslogd-ipc: New script --- diff --git a/scripts b/scripts index a1af610..40a2d50 100644 --- a/scripts +++ b/scripts @@ -9,7 +9,8 @@ FEATURE_MOUNT_FLAGS mounttmpfs S03 K97 IFUP networking S20 IFDOWN networking K80 NTPD ntpd enabled -SYSLOGD syslogd enabled +SYSLOGD&&!FEATURE_IPC_SYSLOG syslogd enabled +FEATURE_IPC_SYSLOG syslogd-ipc enabled TELNETD telnetd disabled - boottime enabled - rc.local enabled diff --git a/src.etc/init.d/syslogd-ipc b/src.etc/init.d/syslogd-ipc new file mode 100755 index 0000000..40506e7 --- /dev/null +++ b/src.etc/init.d/syslogd-ipc @@ -0,0 +1,16 @@ +#!/bin/sh /etc/rc.common + +START='40' +STOP='70' + +start() +{ + log 'Starting system logging daemon' + start-stop-daemon -S -q -x /sbin/syslogd -- -C +} + +stop() +{ + log 'Stopping system logging daemon' + start-stop-daemon -K -q -p /var/run/syslogd.pid +} -- cgit v0.9.1