1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/inetutils-syslogd/inetutils-syslogd.post-deinstall
IT Offshore fb2496e8e0 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)
2013-11-15 15:56:53 +00:00

7 lines
186 B
Bash

#!/bin/sh
rc-update add syslog boot
# show service status - cron will be stopped due to logger dependency
echo "Cron:"; rc-service cron status
echo "Syslog:"; rc-service syslog status