mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
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)
13 lines
309 B
Bash
13 lines
309 B
Bash
#!/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
|