From fb2496e8e08eec0708272fa1fd13bf0174250b95 Mon Sep 17 00:00:00 2001 From: IT Offshore Date: Sun, 10 Nov 2013 09:59:00 +0000 Subject: testing/inetutils-syslogd: new aport A small syslogd for logging to multiple files http://www.gnu.org/software/inetutils/ revised complete patch for inetutils-syslogd. post-install - just gives status / info message - configuration is now done by /sbin/setup-inetutils-syslogd. Both scripts now use the system colours $STRONG $RED $GREEN. post-deinstall - just adds back busybox syslog to boot runlevel & shows the status of syslog & cron (as cron will be stopped by removing any syslog) --- testing/inetutils-syslogd/inetutils-syslogd.post-install | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testing/inetutils-syslogd/inetutils-syslogd.post-install (limited to 'testing/inetutils-syslogd/inetutils-syslogd.post-install') diff --git a/testing/inetutils-syslogd/inetutils-syslogd.post-install b/testing/inetutils-syslogd/inetutils-syslogd.post-install new file mode 100644 index 0000000000..5a327cb3b8 --- /dev/null +++ b/testing/inetutils-syslogd/inetutils-syslogd.post-install @@ -0,0 +1,13 @@ +#!/bin/sh + +NORMAL="\033[1;0m" +STRONG="\033[1;1m" +GREEN="\033[1;32m" + +print_strong() { + local prompt="${STRONG}$1 ${GREEN}$2${NORMAL}" + printf "${prompt} %s\n" +} + +print_strong "\nTo configure inetutils-syslogd / BusyBox Syslog Services & Runlevels execute:" "\n\n/sbin/setup-inetutils-syslogd\n" +exit 0 -- cgit v1.2.3